Make tp command higher priority

This commit is contained in:
NotAlexNoyle committed 2026-07-30 18:00:52 -04:00
1 parent c9e75cce39
commit 158b34e606
1 file changed
+1 -1
@@ -571,7 +571,7 @@ public class EssentialsPlayerListener implements Listener, FakeAccessor {
}
}
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onPlayerCommandPreprocess(final PlayerCommandPreprocessEvent event) {
final String cmd = event.getMessage().toLowerCase(Locale.ENGLISH).split(" ")[0].replace("/", "").toLowerCase(Locale.ENGLISH);
final int argStartIndex = event.getMessage().indexOf(" ");