From e957985a807c0597c7a12a496e8fa90032e72a4e Mon Sep 17 00:00:00 2001 From: CrazyPants Date: Tue, 18 Nov 2014 14:02:31 +0800 Subject: [PATCH] #1259 shift right click on vacuum chest with a wrench causes it to disappear --- ReleaseNotes.txt | 1 + src/main/java/crazypants/enderio/tool/ToolUtil.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 72bac26f..057732da 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -14,6 +14,7 @@ Bugs - #1228 Spoon upgrade still not working properly - #1239 Ender Rail uncraftable with Special Mobs - #1248 Farming Station performance issue when large tree farm has no axe +- #1259 shift right click on vacuum chest with a wrench causes it to disappear - Power conduits will now connect to blocks implementing IEnergyConnection ------------------------------------------------------ diff --git a/src/main/java/crazypants/enderio/tool/ToolUtil.java b/src/main/java/crazypants/enderio/tool/ToolUtil.java index 6649b966..f7f5aa41 100644 --- a/src/main/java/crazypants/enderio/tool/ToolUtil.java +++ b/src/main/java/crazypants/enderio/tool/ToolUtil.java @@ -34,7 +34,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); + block.removedByPlayer(world, entityPlayer, x, y, z, true); tool.used(entityPlayer.getCurrentEquippedItem(), entityPlayer, x, y, z); return true; }