mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +00:00
Fixed encoding of StartGamePacket, fixed world name not showing up in settings screen
This commit is contained in:
parent
90f1efc667
commit
022f33b256
@ -76,6 +76,7 @@ class StartGamePacket extends DataPacket{
|
|||||||
$this->putLFloat($this->lightningLevel);
|
$this->putLFloat($this->lightningLevel);
|
||||||
$this->putBool($this->commandsEnabled);
|
$this->putBool($this->commandsEnabled);
|
||||||
$this->putBool($this->isTexturePacksRequired);
|
$this->putBool($this->isTexturePacksRequired);
|
||||||
|
$this->putUnsignedVarInt(0); //TODO: gamerules
|
||||||
$this->putString($this->levelId);
|
$this->putString($this->levelId);
|
||||||
$this->putString($this->worldName);
|
$this->putString($this->worldName);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user