mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Update to use AsyncChatEvent
This commit is contained in:
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())
|
||||
|
||||
Reference in new issue
Block a user