Player: fixed not receiving slot updates for small crafting grid

I'm not really sure why this tracking logic is here and not in InventoryManager, but for now it is what it is.
This commit is contained in:
Dylan K. Taylor 2023-01-04 01:28:25 +00:00
parent fc63c54116
commit 33d1755eae
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

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