diff --git a/src/Player.php b/src/Player.php index 94999239..8d303c53 100644 --- a/src/Player.php +++ b/src/Player.php @@ -404,7 +404,7 @@ class Player{ } public function setArmor($slot, Item $armor, $send = true){ - $this->armor[(int) $slot] = $item; + $this->armor[(int) $slot] = $armor; if($send === true){ $this->sendArmor($this); }