mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 23:29:54 +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){
|
public function setArmor($slot, Item $armor, $send = true){
|
||||||
$this->armor[(int) $slot] = $item;
|
$this->armor[(int) $slot] = $armor;
|
||||||
if($send === true){
|
if($send === true){
|
||||||
$this->sendArmor($this);
|
$this->sendArmor($this);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user