mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Improved world generation manager, UUIDs (some work for future usage)
This commit is contained in:
@ -480,8 +480,13 @@ namespace pocketmine {
|
||||
}
|
||||
}
|
||||
}elseif(!$thread->isJoined()){
|
||||
$logger->debug("Joining " . (new \ReflectionClass($thread))->getShortName() . " thread");
|
||||
$thread->join();
|
||||
if(!$thread->isTerminated()){
|
||||
$logger->debug("Joining " . (new \ReflectionClass($thread))->getShortName() . " thread");
|
||||
$thread->join();
|
||||
}else{
|
||||
$logger->debug("Killing " . (new \ReflectionClass($thread))->getShortName() . " thread");
|
||||
$thread->kill();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user