mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
renamed PocketMine\PMF\Level to PocketMine\PMF\LevelFormat
This commit is contained in:
@ -144,7 +144,7 @@ class LevelAPI{
|
||||
}
|
||||
$path = DATA."worlds/".$name."/";
|
||||
console("[INFO] Preparing level \"".$name."\"");
|
||||
$level = new PMF\Level($path."level.pmf");
|
||||
$level = new PMF\LevelFormat($path."level.pmf");
|
||||
if(!$level->isLoaded){
|
||||
console("[ERROR] Could not load level \"".$name."\"");
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user