Skip to content

Commit

Permalink
Merge branch 'master' into modern-support
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeberrex committed Sep 22, 2024
2 parents 735765a + 10772d1 commit 76d4ce2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class ChatListener : Listener {
sendAdminChat(PGM.get().matchManager.getMatch(), prefix, player.name, message, serverId)
}

@EventHandler
@EventHandler(ignoreCancelled = true)
fun onPlayerChat(event: AsyncPlayerChatEvent) {
val player = event.player
val context = PlayerManager.getPlayer(player.uniqueId)!!
Expand Down

0 comments on commit 76d4ce2

Please sign in to comment.