mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed ContainerSetContentPacket being spammed before join
This commit is contained in:
@ -145,7 +145,7 @@ class PlayerInventory extends BaseInventory{
|
||||
}
|
||||
|
||||
public function onSlotChange($index, $before, $source = null){
|
||||
parent::onSlotChange($index, $before);
|
||||
parent::onSlotChange($index, $before, $source);
|
||||
|
||||
if($index >= $this->getSize()){
|
||||
$this->sendArmorContents($this->getHolder()->getViewers());
|
||||
|
Reference in New Issue
Block a user