Added optional op-exemption from checks.

This commit is contained in:
h31ix committed 2012-09-25 19:21:06 -04:00
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)