mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Resend slot on change
This commit is contained in:
parent
26c2f61da0
commit
8f724ffc46
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue