diff --git a/CHANGELOG.md b/CHANGELOG.md index b79be8e81..7dbfd3dcd 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Fixed bug where Disk Manipulator doesn't save disks (raoulvdberge) - Fixed Disk Drive stored quantity GUI text hovering over other text (raoulvdberge) - Fixed External Storage being in item and fluid mode at the same time (raoulvdberge) +- Fixed Wrench working when player is not sneaking (raoulvdberge) ### 1.2.3 - Fixed fluid cache updating wrongly (raoulvdberge) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/item/ItemWrench.java b/src/main/java/com/raoulvdberge/refinedstorage/item/ItemWrench.java index c18bc0274..656e58cc3 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/item/ItemWrench.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/item/ItemWrench.java @@ -67,7 +67,7 @@ public class ItemWrench extends ItemBase { @Override public EnumActionResult onItemUse(ItemStack stack, EntityPlayer player, World world, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { - if (world.isRemote) { + if (world.isRemote || !player.isSneaking()) { return EnumActionResult.PASS; }