Skip to content

Commit

Permalink
fixed priority of AsyncPlayerChatEvent, as to not have other plugins …
Browse files Browse the repository at this point in the history
…receive the input
  • Loading branch information
BlvckBytes committed Nov 9, 2024
1 parent cd508cb commit 22c9eec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public boolean register(Player player, Consumer<String> inputHandler, Runnable t
}
}

@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
@EventHandler(priority = EventPriority.LOWEST)
public void onChat(AsyncPlayerChatEvent event) {
ChatPromptInstance handler;

Expand Down

0 comments on commit 22c9eec

Please sign in to comment.