mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Resend slot on change
This commit is contained in:
parent
26c2f61da0
commit
8f724ffc46
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user