#2376 Fix yeta wrench not able to shift+rc remove rotatable blocks

This commit is contained in:
tterrag1098 committed 2015-04-26 22:54:15 -04:00
1 parent 91c51f340b
commit d4360e2b59
1 file changed
+1 -1
@@ -79,7 +79,7 @@ public class ItemYetaWrench extends Item implements ITool, IConduitControl, IAdv
((IDismantleable) block).dismantleBlock(player, world, x, y, z, false);
}
ret = true;
} else if(block.rotateBlock(world, x, y, z, ForgeDirection.getOrientation(side))) {
} else if(!player.isSneaking() && block.rotateBlock(world, x, y, z, ForgeDirection.getOrientation(side))) {
ret = true;
} else if(block instanceof IRotatableFacade && !player.isSneaking()
&& (block != EnderIO.blockConduitBundle || ConduitDisplayMode.getDisplayMode(stack) == ConduitDisplayMode.NONE)) {