mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Added optional op-exemption from checks.
This commit is contained in:
1 parent
5e9b7b4ef0
commit
298fecd749
4 files changed
+17
-10
No files matched your search
@@ -103,14 +103,6 @@ public class BlockListener extends EventListener
|
||||
log("tried to break a block of " + block.getType().name() + " too fast.", player, CheckType.FAST_BREAK);
|
||||
noHack = false;
|
||||
}
|
||||
plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable()
|
||||
{
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
backend.checkSwing(player, block);
|
||||
}
|
||||
}, 2L);
|
||||
}
|
||||
}
|
||||
if (noHack)
|
||||
|
||||
Reference in new issue
Block a user