diff --git a/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php b/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php index 3b07fe359..6162056ae 100644 --- a/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php +++ b/src/pocketmine/network/mcpe/protocol/ResourcePacksInfoPacket.php @@ -45,6 +45,7 @@ class ResourcePacksInfoPacket extends DataPacket{ $version = $this->getString(); $size = $this->getLLong(); $this->behaviorPackEntries[] = new ResourcePackInfoEntry($id, $version, $size); + $this->getString(); } $resourcePackCount = $this->getLShort(); @@ -53,6 +54,7 @@ class ResourcePacksInfoPacket extends DataPacket{ $version = $this->getString(); $size = $this->getLLong(); $this->resourcePackEntries[] = new ResourcePackInfoEntry($id, $version, $size); + $this->getString(); }*/ } @@ -65,12 +67,14 @@ class ResourcePacksInfoPacket extends DataPacket{ $this->putString($entry->getPackId()); $this->putString($entry->getPackVersion()); $this->putLLong($entry->getPackSize()); + $this->putString(""); //TODO } $this->putLShort(count($this->resourcePackEntries)); foreach($this->resourcePackEntries as $entry){ $this->putString($entry->getPackId()); $this->putString($entry->getPackVersion()); $this->putLLong($entry->getPackSize()); + $this->putString(""); //TODO } }