diff --git a/src/network/protocol/packet/ContainerSetContentPacket.php b/src/network/protocol/packet/ContainerSetContentPacket.php index a4afe1db..6451b717 100644 --- a/src/network/protocol/packet/ContainerSetContentPacket.php +++ b/src/network/protocol/packet/ContainerSetContentPacket.php @@ -35,7 +35,9 @@ class ContainerSetContentPacket extends RakNetDataPacket{ foreach($this->hotbar as $slot){ $this->putInt($slot); } + }else{ + $this->putShort(0); } } -} \ No newline at end of file +}