Skip to content

Commit

Permalink
Set chat hook listener as ignoreCancelled=true
Browse files Browse the repository at this point in the history
  • Loading branch information
Almighty-Satan committed Oct 1, 2024
1 parent e9a5ecd commit 4ce23c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void register(PlayerChatHook trigger) {
this.trigger = trigger;
}

@EventHandler(priority = EventPriority.LOWEST)
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
public void onPlayerChat(AsyncPlayerChatEvent event) {
if (this.ignoreEvent(event))
return;
Expand Down

0 comments on commit 4ce23c1

Please sign in to comment.