Skip to content

Commit

Permalink
Fix RUN_COMMAND task type
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSzabo committed Aug 5, 2024
1 parent 7fe89b9 commit fea8938
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit fea8938

Please sign in to comment.