From bec42d7741e2789f4f34ab0386fe7c9eaa3d6822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kol=C3=A1=C5=99?= Date: Mon, 3 Jul 2017 14:41:04 +0200 Subject: [PATCH] Fix essentials problems --- .../main/java/cz/boosik/boosCooldown/BoosCoolDownListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/cz/boosik/boosCooldown/BoosCoolDownListener.java b/plugin/src/main/java/cz/boosik/boosCooldown/BoosCoolDownListener.java index 8491599..3661ccb 100644 --- a/plugin/src/main/java/cz/boosik/boosCooldown/BoosCoolDownListener.java +++ b/plugin/src/main/java/cz/boosik/boosCooldown/BoosCoolDownListener.java @@ -187,7 +187,7 @@ public class BoosCoolDownListener implements Listener { } } - @EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true) + @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) private void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) { Player player = event.getPlayer(); UUID uuid = player.getUniqueId();