From dc9a337560f1cd31d1685b6f3dfb9402081fabfe Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Thu, 30 Jan 2014 19:23:29 -0600 Subject: [PATCH] Wrenches no longer rotate when sneaking. --- items/tools/quartz/ToolQuartzWrench.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/items/tools/quartz/ToolQuartzWrench.java b/items/tools/quartz/ToolQuartzWrench.java index b3a29e75b..88cecfdd3 100644 --- a/items/tools/quartz/ToolQuartzWrench.java +++ b/items/tools/quartz/ToolQuartzWrench.java @@ -27,7 +27,7 @@ public class ToolQuartzWrench extends AEBaseItem implements IAEWrench, IToolWren public boolean onItemUseFirst(ItemStack is, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) { int id = world.getBlockId( x, y, z ); - if ( id > 0 ) + if ( id > 0 && !player.isSneaking() ) { Block b = Block.blocksList[id]; if ( b != null )