Thanks to @ArkQuark

This commit is contained in:
yefengeeeeeeeeeee 2025-05-03 16:18:21 +08:00
parent a365acc727
commit e3f0ed0744
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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);