From 1d0413f159173e967d7e9e0ce18dfd9b9cedafca Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 8 Dec 2018 18:28:04 -0800 Subject: [PATCH] im idiot --- src/main/java/baritone/behavior/InventoryBehavior.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/behavior/InventoryBehavior.java b/src/main/java/baritone/behavior/InventoryBehavior.java index ad5eae10..25a97965 100644 --- a/src/main/java/baritone/behavior/InventoryBehavior.java +++ b/src/main/java/baritone/behavior/InventoryBehavior.java @@ -41,7 +41,7 @@ public class InventoryBehavior extends Behavior { if (event.getType() == TickEvent.Type.OUT) { return; } - if (ctx.player().openContainer == ctx.player().inventoryContainer) { + if (ctx.player().openContainer != ctx.player().inventoryContainer) { // we have a crafting table or a chest or something open return; }