mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Cleaned up bool comparison mess
This commit is contained in:
@ -143,7 +143,7 @@ class PopulationTask extends AsyncTask{
|
||||
public function onCompletion(Server $server){
|
||||
$level = $server->getLevel($this->levelId);
|
||||
if($level !== null){
|
||||
if($this->state === false){
|
||||
if(!$this->state){
|
||||
$level->registerGenerator();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user