From 0eda9baf8f37ca83c40707a3bfd8a34eac12a765 Mon Sep 17 00:00:00 2001 From: FenixFyreX Date: Fri, 8 Feb 2019 11:13:48 -0600 Subject: [PATCH] Fixed sneaking being removed for randomizer bag in ClientProxy. --- .../java/nl/requios/effortlessbuilding/proxy/ClientProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/nl/requios/effortlessbuilding/proxy/ClientProxy.java b/src/main/java/nl/requios/effortlessbuilding/proxy/ClientProxy.java index e39ee2a..17fedba 100644 --- a/src/main/java/nl/requios/effortlessbuilding/proxy/ClientProxy.java +++ b/src/main/java/nl/requios/effortlessbuilding/proxy/ClientProxy.java @@ -168,7 +168,7 @@ public class ClientProxy implements IProxy { //KeyBinding.setKeyBindState(mc.gameSettings.keyBindUseItem.getKeyCode(), false); ItemStack currentItemStack = player.getHeldItem(EnumHand.MAIN_HAND); - if (CompatHelper.isItemBlockProxy(currentItemStack)) { + if (CompatHelper.isItemBlockProxy(currentItemStack) && !player.isSneaking()) { //find position in distance RayTraceResult lookingAt = getLookingAt(player);