Update to use AsyncChatEvent

This commit is contained in:
H31IX committed 2012-08-04 13:49:57 -04:00
1 parent c4aeff49e1
commit 3ff22b8b42
1 file changed
+1 -1
@@ -131,7 +131,7 @@ public class PlayerListener extends EventListener
}
@EventHandler(ignoreCancelled = true)
public void onPlayerChat(PlayerChatEvent event)
public void onPlayerChat(AsyncPlayerChatEvent event)
{
Player player = event.getPlayer();
if (checkManager.willCheck(player, CheckType.SPAM) && config.chatSpam())