mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Fixed instant break & food detection
This commit is contained in:
1 parent
08b4a400af
commit
f9e058c664
2 files changed
+40
-37
No files matched your search
@@ -242,7 +242,7 @@ public class Backend
|
||||
}
|
||||
|
||||
public boolean checkFastBreak(Player player, Block block)
|
||||
{
|
||||
{
|
||||
if(player.getGameMode() != GameMode.CREATIVE && !player.getInventory().getItemInHand().containsEnchantment(Enchantment.DIG_SPEED) && !Utilities.isInstantBreak(block.getType()))
|
||||
{
|
||||
if (!justBroke(player))
|
||||
|
||||
Reference in new issue
Block a user