mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Thanks to @ArkQuark
This commit is contained in:
parent
a365acc727
commit
e3f0ed0744
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue