diff --git a/src/pocketmine/network/mcpe/protocol/StartGamePacket.php b/src/pocketmine/network/mcpe/protocol/StartGamePacket.php index 6e534f96e..b9ccb4d7a 100644 --- a/src/pocketmine/network/mcpe/protocol/StartGamePacket.php +++ b/src/pocketmine/network/mcpe/protocol/StartGamePacket.php @@ -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); }