mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fix for Blank generator map
This commit is contained in:
parent
5be1b78a7f
commit
4695949ddd
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ class ServerAPI extends stdClass{ //Yay! I can add anything to this class in run
|
|||
$generator = $this->getProperty("generator");
|
||||
}
|
||||
$this->gen = new Generator($generator, $this->server->seed);
|
||||
if($this->getProperty("generator-settings") !== false){
|
||||
if($this->getProperty("generator-settings") !== false or trim($this->getProperty("generator-settings")) != ""){
|
||||
$this->gen->set("preset", $this->getProperty("generator-settings"));
|
||||
}
|
||||
$this->gen->init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue