diff --git a/src/pocketmine/inventory/PlayerInventory.php b/src/pocketmine/inventory/PlayerInventory.php index c4ac2804d7..0e4d92b990 100644 --- a/src/pocketmine/inventory/PlayerInventory.php +++ b/src/pocketmine/inventory/PlayerInventory.php @@ -178,7 +178,7 @@ class PlayerInventory extends BaseInventory{ public function resetHotbar(bool $send = true){ $this->hotbar = \SplFixedArray::fromArray(range(0, $this->getHotbarSize() - 1, 1)); if($send){ - $this->sendContents($this->getHolder()); + $this->sendHotbar(); } }