mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Downloads updates from dev.bukkit.org, also switched back to ChatEvent to keep compatibility with most servers.
This commit is contained in:
1 parent
c74bd5633e
commit
377ef0f624
2 files changed
+36
-4
No files matched your search
@@ -131,7 +131,7 @@ public class PlayerListener extends EventListener
|
||||
}
|
||||
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
public void onPlayerChat(AsyncPlayerChatEvent event)
|
||||
public void onPlayerChat(PlayerChatEvent event)
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
if (checkManager.willCheck(player, CheckType.SPAM) && config.chatSpam())
|
||||
|
||||
Reference in new issue
Block a user