Merge branch 'master' of github.com:h31ix/AntiCheat into development

Conflicts:
	src/main/java/net/h31ix/anticheat/util/Utilities.java
This commit is contained in:
Super Spy committed 2012-06-05 21:53:16 -05:00
commit 1f53f4d1cd
2 files changed
+22 -15

No files matched your search

@@ -736,7 +736,7 @@ public class Backend
public boolean checkSwing(Player player, Block block)
{
return !player.getInventory().getItemInHand().containsEnchantment(Enchantment.DIG_SPEED) && !Utilities.isInstantBreak(block.getType()) && !justAnimated(player) && !Utilities.isUsingMcMMOAbility(player);
return !player.getInventory().getItemInHand().containsEnchantment(Enchantment.DIG_SPEED) && !Utilities.isInstantBreak(block.getType()) && !justAnimated(player) && !Utilities.isUsingMcMMOAbility(player) && !(player.getInventory().getItemInHand().getType() == Material.SHEARS && block.getType() == Material.LEAVES);
}
public boolean checkFastBreak(Player player, Block block)