Fixed instant break & food detection

This commit is contained in:
Adam committed 2012-05-12 14:44:55 -04:00
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))