mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Merge branch 'mcpe-1.6' into mcpe-1.6-master
This commit is contained in:
@ -82,13 +82,6 @@ class LoginPacket extends DataPacket{
|
||||
protected function decodePayload() : void{
|
||||
$this->protocol = $this->getInt();
|
||||
|
||||
if($this->protocol !== ProtocolInfo::CURRENT_PROTOCOL){
|
||||
if($this->protocol > 0xffff){ //guess MCPE <= 1.1
|
||||
$this->offset -= 6;
|
||||
$this->protocol = $this->getInt();
|
||||
}
|
||||
}
|
||||
|
||||
try{
|
||||
$this->decodeConnectionRequest();
|
||||
}catch(\Throwable $e){
|
||||
|
Reference in New Issue
Block a user