diff --git a/src/pocketmine/network/protocol/ResourcePacksInfoPacket.php b/src/pocketmine/network/protocol/ResourcePacksInfoPacket.php index f36730c32..26aa79beb 100644 --- a/src/pocketmine/network/protocol/ResourcePacksInfoPacket.php +++ b/src/pocketmine/network/protocol/ResourcePacksInfoPacket.php @@ -47,13 +47,13 @@ class ResourcePacksInfoPacket extends DataPacket{ foreach($this->behaviorPackEntries as $entry){ $this->putString($entry->getPackId()); $this->putString($entry->getVersion()); - $this->putLong($entry->getPackSize()); + $this->putLLong($entry->getPackSize()); } $this->putShort(count($this->resourcePackEntries)); foreach($this->resourcePackEntries as $entry){ $this->putString($entry->getPackId()); $this->putString($entry->getVersion()); - $this->putLong($entry->getPackSize()); + $this->putLLong($entry->getPackSize()); } } } \ No newline at end of file