ArmorInventory: fixed slots not updating when set

closes #2014
This commit is contained in:
Dylan K. Taylor 2018-02-13 11:33:54 +00:00
parent 6e7a693355
commit 8a4f6eb6c2

View File

@ -116,7 +116,7 @@ class ArmorInventory extends BaseInventory{
$pk2 = new InventorySlotPacket();
$pk2->windowId = $player->getWindowId($this);
$pk2->inventorySlot = $index - $this->getSize();
$pk2->inventorySlot = $index;
$pk2->item = $this->getItem($index);
$player->dataPacket($pk2);
}else{