fixed varied size of ContainerSetContentPacket when writing

This commit is contained in:
GameHerobrine 2026-03-08 08:04:09 +03:00
parent a97da0f719
commit 878fc5f74b

View file

@ -35,7 +35,9 @@ class ContainerSetContentPacket extends RakNetDataPacket{
foreach($this->hotbar as $slot){
$this->putInt($slot);
}
}else{
$this->putShort(0);
}
}
}
}