Fixed sneaking being removed for randomizer bag in ClientProxy.

This commit is contained in:
FenixFyreX
2019-02-08 11:13:48 -06:00
parent f36c5a4a5a
commit 0eda9baf8f

View File

@@ -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);