mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
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:
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)
|
||||
|
||||
Reference in new issue
Block a user