mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 08:49:42 +00:00
Merge branch '3.5'
This commit is contained in:
commit
f4d07f0c1e
@ -1740,7 +1740,9 @@ class Server{
|
|||||||
GeneratorManager::registerDefaultGenerators();
|
GeneratorManager::registerDefaultGenerators();
|
||||||
|
|
||||||
foreach((array) $this->getProperty("worlds", []) as $name => $options){
|
foreach((array) $this->getProperty("worlds", []) as $name => $options){
|
||||||
if(!is_array($options)){
|
if($options === null){
|
||||||
|
$options = [];
|
||||||
|
}elseif(!is_array($options)){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(!$this->loadLevel($name)){
|
if(!$this->loadLevel($name)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user