mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Fixed already loaded worlds
This commit is contained in:
@ -102,7 +102,7 @@ class LevelAPI{
|
||||
|
||||
public function loadLevel($name){
|
||||
if($this->get($name) !== false){
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
$path = DATA_PATH."worlds/".$name."/";
|
||||
if(!file_exists($path."level.pmf")){
|
||||
|
Reference in New Issue
Block a user