mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-13 15:05:33 +00:00
Removed LevelAPI::isLoaded()
Not needed, everything can be obtained with current methods
This commit is contained in:
parent
d515da8963
commit
230a3c00fc
@ -32,14 +32,6 @@ class LevelAPI{
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isLoaded($name){
|
|
||||||
if(isset($this->levels[$name])){
|
|
||||||
return true;
|
|
||||||
}else{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getDefault(){
|
public function getDefault(){
|
||||||
return $this->levels[$this->default];
|
return $this->levels[$this->default];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user