mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-19 11:59:17 +00:00
#2376 Fix yeta wrench not able to shift+rc remove rotatable blocks
This commit is contained in:
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)) {
|
||||
|
||||
Reference in new issue
Block a user