Fixed encoding of StartGamePacket, fixed world name not showing up in settings screen

This commit is contained in:
Dylan K. Taylor 2017-04-03 16:04:15 +01:00
parent 90f1efc667
commit 022f33b256

View File

@ -76,6 +76,7 @@ class StartGamePacket extends DataPacket{
$this->putLFloat($this->lightningLevel);
$this->putBool($this->commandsEnabled);
$this->putBool($this->isTexturePacksRequired);
$this->putUnsignedVarInt(0); //TODO: gamerules
$this->putString($this->levelId);
$this->putString($this->worldName);
}