mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Fixed wrong encoding of ResourcePacksInfoPacket
This commit is contained in:
parent
5eab956da6
commit
dc7b5b14d5
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user