mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Don't check inventory clicks in creative due to massive event spam
This commit is contained in:
1 parent
0cbe96c748
commit
b48e97a799
1 file changed
+4
@@ -1019,6 +1019,10 @@ public class Backend
|
||||
|
||||
public boolean checkInventoryClicks(Player player)
|
||||
{
|
||||
if (player.getGameMode() == GameMode.CREATIVE)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
String name = player.getName();
|
||||
int clicks = 1;
|
||||
if (inventoryClicks.containsKey(name))
|
||||
|
||||
Reference in new issue
Block a user