Fixed #2055 Extra packet data sent on armor change

This commit is contained in:
Shoghi Cervantes
2014-09-28 17:31:44 +02:00
parent 7b5869bea8
commit 886ad8442c
3 changed files with 9 additions and 4 deletions

View File

@ -211,6 +211,7 @@ class PlayerInventory extends BaseInventory{
}
$item = $ev->getNewItem();
}
if($item->getID() === 0){
$this->clear($index, $source);
}else{