mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Merge branch 'master' into mcpe-1.0.3.0
This commit is contained in:
commit
06dd410340
@ -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
|
||||
}
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f4bfcb8e6b7cf93f3961dd8fc9c5ba44ce068763
|
||||
Subproject commit 989ad8198cb5dd9b463a03831c1332e4cea60858
|
Loading…
x
Reference in New Issue
Block a user