This commit is contained in:
Leijurv 2018-12-08 18:28:04 -08:00
parent 72d8863862
commit 1d0413f159
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

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