Anti-spam priority fix.
Attempt to beat NCP to the punch.
This commit is contained in:
parent
fae3add1c7
commit
1da0a6f513
|
|
@ -89,7 +89,7 @@ class PlayerEventHandler implements Listener
|
|||
}
|
||||
|
||||
//when a player chats, monitor for spam
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST)
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.LOWEST)
|
||||
synchronized void onPlayerChat (AsyncPlayerChatEvent event)
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user