mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
minor armor api fix.
This commit is contained in:
parent
56f500d520
commit
635cd677eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue