mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed already loaded worlds
This commit is contained in:
parent
651398e500
commit
b82e9b2895
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue