mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Merge branch 'master' into mcpe-1.0.3.0
This commit is contained in:
@@ -77,7 +77,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
}
|
||||
}
|
||||
|
||||
if($this->rakLib->isTerminated()){
|
||||
if(!$this->rakLib->isRunning() and !$this->rakLib->isShutdown()){
|
||||
$this->network->unregisterInterface($this);
|
||||
|
||||
throw new \Exception("RakLib Thread crashed");
|
||||
|
@@ -44,6 +44,7 @@ class LoginPacket extends DataPacket{
|
||||
$this->protocol = $this->getInt();
|
||||
|
||||
if($this->protocol !== Info::CURRENT_PROTOCOL){
|
||||
$this->buffer = null;
|
||||
return; //Do not attempt to decode for non-accepted protocols
|
||||
}
|
||||
|
||||
|
Submodule src/raklib updated: f4bfcb8e6b...989ad8198c
Reference in New Issue
Block a user