From 8f724ffc46e4bc5b8bcf1e3ebbda8f993f70e91b Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Wed, 17 Apr 2013 23:29:44 +0200 Subject: [PATCH] Resend slot on change --- src/Player.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Player.php b/src/Player.php index e21789d7..fc2e94a5 100644 --- a/src/Player.php +++ b/src/Player.php @@ -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; }