mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 05:34:54 +00:00
Fixed already loaded worlds
This commit is contained in:
parent
651398e500
commit
b82e9b2895
@ -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")){
|
||||
|
Loading…
x
Reference in New Issue
Block a user