Fixed error when login
This commit is contained in:
parent
ac157f2232
commit
e518d4c208
1 changed files with 2 additions and 2 deletions
|
|
@ -43,10 +43,10 @@ class LoginPacket extends DataPacket{
|
|||
$this->username = $this->getString();
|
||||
$this->protocol1 = $this->getInt();
|
||||
$this->protocol2 = $this->getInt();
|
||||
if($this->protocol1 < Info::CURRENT_PROTOCOL){ //New fields!
|
||||
/*if($this->protocol1 < Info::CURRENT_PROTOCOL){ //New fields!
|
||||
$this->setBuffer(null, 0); //Skip batch packet handling
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
$this->clientId = $this->getLong();
|
||||
$this->clientUUID = $this->getUUID();
|
||||
$this->serverAddress = $this->getString();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue