From 110355829a43dfe359284157bfec072b8a4a066d Mon Sep 17 00:00:00 2001 From: tterrag1098 Date: Sun, 15 Mar 2015 22:29:19 -0400 Subject: [PATCH] Fix wrenching blocks not working --- src/main/java/crazypants/enderio/tool/ToolUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/crazypants/enderio/tool/ToolUtil.java b/src/main/java/crazypants/enderio/tool/ToolUtil.java index e4ae55c4..46467255 100644 --- a/src/main/java/crazypants/enderio/tool/ToolUtil.java +++ b/src/main/java/crazypants/enderio/tool/ToolUtil.java @@ -37,7 +37,7 @@ public class ToolUtil { public static boolean breakBlockWithTool(Block block, World world, int x, int y, int z, EntityPlayer entityPlayer) { ITool tool = ToolUtil.getEquippedTool(entityPlayer); if(tool != null && entityPlayer.isSneaking() && tool.canUse(entityPlayer.getCurrentEquippedItem(), entityPlayer, x, y, z)) { - block.removedByPlayer(world, entityPlayer, x, y, z, true); + block.harvestBlock(world, entityPlayer, x, y, z, world.getBlockMetadata(x, y, z)); tool.used(entityPlayer.getCurrentEquippedItem(), entityPlayer, x, y, z); return true; }