diff --git a/src/client/java/minicraft/screen/PlayerInvDisplay.java b/src/client/java/minicraft/screen/PlayerInvDisplay.java index 65373e58e..e5e14fd06 100644 --- a/src/client/java/minicraft/screen/PlayerInvDisplay.java +++ b/src/client/java/minicraft/screen/PlayerInvDisplay.java @@ -358,9 +358,11 @@ private int getOtherIdx() { private void update() { menus[0] = new InventoryMenu((InventoryMenu) menus[0]); - menus[1] = new InventoryMenu((InventoryMenu) menus[1]); - menus[1].translate(menus[0].getBounds().getWidth() + padding, 0); - onSelectionChange(0, selection); + if (creativeMode) { + menus[1] = new InventoryMenu((InventoryMenu) menus[1]); + menus[1].translate(menus[0].getBounds().getWidth() + padding, 0); + onSelectionChange(0, selection); + } itemDescription = getDescription(); } }