mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
minor armor api fix.
This commit is contained in:
parent
56f500d520
commit
635cd677eb
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user