mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
It works. (Inventory, windows, block placement)
This commit is contained in:
@ -153,10 +153,11 @@ class PlayerInventory extends BaseInventory{
|
||||
|
||||
if($index >= $this->getSize()){
|
||||
$this->sendArmorContents($this->getHolder()->getViewers());
|
||||
}
|
||||
|
||||
if($this->getHolder() instanceof Player){
|
||||
$this->sendArmorContents($this->getHolder());
|
||||
if($this->getHolder() instanceof Player){
|
||||
$this->sendArmorContents($this->getHolder());
|
||||
}
|
||||
}elseif($this->getHolder() instanceof Player){
|
||||
$this->sendSlot($index, $this->getHolder());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user