Player: fixed not subscribing to own inventory updates

fixes #4211
This commit is contained in:
Dylan K. Taylor 2021-05-09 19:36:36 +01:00
parent 922164ff2c
commit 1533789f35
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -2252,7 +2252,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
$this->cursorInventory = new PlayerCursorInventory($this);
$this->craftingGrid = new CraftingGrid($this, CraftingGrid::SIZE_SMALL);
$this->addPermanentInventories($this->inventory, $this->armorInventory, $this->cursorInventory);
$this->addPermanentInventories($this->inventory, $this->armorInventory, $this->cursorInventory, $this->offHandInventory);
//TODO: more windows
}