Skip to content

Commit

Permalink
Player: fixed not receiving slot updates for small crafting grid
Browse files Browse the repository at this point in the history
I'm not really sure why this tracking logic is here and not in InventoryManager, but for now it is what it is.
  • Loading branch information
dktapps committed Jan 4, 2023
1 parent fc63c54 commit 33d1755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player/Player.php
Original file line number Diff line number Diff line change
Expand Up @@ -2448,7 +2448,7 @@ protected function addDefaultWindows() : void{
$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
}
Expand Down

0 comments on commit 33d1755

Please sign in to comment.