im idiot
This commit is contained in:
parent
72d8863862
commit
1d0413f159
@ -41,7 +41,7 @@ public class InventoryBehavior extends Behavior {
|
|||||||
if (event.getType() == TickEvent.Type.OUT) {
|
if (event.getType() == TickEvent.Type.OUT) {
|
||||||
return;
|
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
|
// we have a crafting table or a chest or something open
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user