diff --git a/src/network/protocol/packet/SetTimePacket.php b/src/network/protocol/packet/SetTimePacket.php index afbc9fd2..4f055bc0 100644 --- a/src/network/protocol/packet/SetTimePacket.php +++ b/src/network/protocol/packet/SetTimePacket.php @@ -14,7 +14,7 @@ class SetTimePacket extends RakNetDataPacket{ public function encode(){ $this->reset(); - $this->putInt($this->time);//long + $this->putInt($this->time);// long in 0.6.1 if($this->PROTOCOL >= ProtocolInfo8::CURRENT_PROTOCOL_8){ $this->putByte($this->started ? 0x80:0x00); } diff --git a/src/network/protocol/packet/StartGamePacket.php b/src/network/protocol/packet/StartGamePacket.php index fffb16da..c81898a8 100644 --- a/src/network/protocol/packet/StartGamePacket.php +++ b/src/network/protocol/packet/StartGamePacket.php @@ -19,7 +19,7 @@ class StartGamePacket extends RakNetDataPacket{ public function encode(){ $this->reset(); - $this->putInt($this->seed);//long + $this->putInt($this->seed);// long in 0.6.1 $this->putInt($this->generator); $this->putInt($this->gamemode); $this->putInt($this->eid);