diff --git a/src/player/Player.php b/src/player/Player.php index 4ba1c81ae..3ef6a5e86 100644 --- a/src/player/Player.php +++ b/src/player/Player.php @@ -2448,7 +2448,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{ $this->cursorInventory = new PlayerCursorInventory($this); $this->craftingGrid = new PlayerCraftingInventory($this); - $this->addPermanentInventories($this->inventory, $this->armorInventory, $this->cursorInventory, $this->offHandInventory); + $this->addPermanentInventories($this->inventory, $this->armorInventory, $this->cursorInventory, $this->offHandInventory, $this->craftingGrid); //TODO: more windows }