RakLibInterface: remove useless shutdown check from tick()

the thread should never be shutdown during an update cycle, because we stop the interface from being ticked when it gets shutdown.
This commit is contained in:
Dylan K. Taylor 2020-03-29 16:26:22 +01:00
parent 2e75594c34
commit eb7c31d3ff

View File

@ -105,7 +105,7 @@ class RakLibInterface implements ServerInstance, AdvancedNetworkInterface{
} }
public function tick() : void{ public function tick() : void{
if(!$this->rakLib->isRunning() and !$this->rakLib->isShutdown()){ if(!$this->rakLib->isRunning()){
$e = $this->rakLib->getCrashInfo(); $e = $this->rakLib->getCrashInfo();
if($e !== null){ if($e !== null){
throw $e; throw $e;