This should make us fully NoCheat compatible.

This commit is contained in:
nossr50
2012-02-25 04:27:09 -08:00
parent 77b0dd725c
commit f481741bb5
4 changed files with 18 additions and 17 deletions

View File

@ -75,11 +75,7 @@ public class WoodCutting
for(Block x : toBeFelled)
{
//Stupid NoCheat compatibility stuff
PlayerAnimationEvent armswing = new PlayerAnimationEvent(player);
Bukkit.getPluginManager().callEvent(armswing);
if(m.blockBreakSimulate(x, player))
if(m.blockBreakSimulate(x, player, true))
{
if(x.getType() == Material.LOG)
{