Resend slot on change

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-17 23:29:44 +02:00
parent 26c2f61da0
commit 8f724ffc46

View File

@ -272,6 +272,7 @@ class Player{
public function setSlot($slot, Item $item){
$this->inventory[(int) $slot] = array($item->getID(), $item->getMetadata(), $item->count);
$this->sendInventorySlot((int) $slot);
return true;
}