minor armor api fix.

This commit is contained in:
Michael Yoo 2013-07-14 17:50:14 +09:30
parent 56f500d520
commit 635cd677eb

View File

@ -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);
}