Fixed ContainerSetContentPacket being spammed before join

This commit is contained in:
Shoghi Cervantes
2014-05-30 01:26:57 +02:00
parent 0925898d8d
commit 5117bbf7f4
3 changed files with 4 additions and 4 deletions

View File

@ -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());