From fea893814f0ee9d275f171384006826460364fda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Szab=C3=B3?= Date: Mon, 5 Aug 2024 17:20:09 +0200 Subject: [PATCH] Fix RUN_COMMAND task type --- src/main/java/gg/auroramc/quests/listener/CommandListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/gg/auroramc/quests/listener/CommandListener.java b/src/main/java/gg/auroramc/quests/listener/CommandListener.java index 558dba2..0efd919 100644 --- a/src/main/java/gg/auroramc/quests/listener/CommandListener.java +++ b/src/main/java/gg/auroramc/quests/listener/CommandListener.java @@ -12,7 +12,7 @@ public class CommandListener implements Listener { - @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) + @EventHandler(priority = EventPriority.LOWEST) public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) { Player player = event.getPlayer(); if (player.hasMetadata("NPC")) {