mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fix for blank map generation
This commit is contained in:
parent
b79374c13d
commit
bf24a937b2
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 or trim($this->getProperty("generator-settings")) != ""){
|
||||
if($this->getProperty("generator-settings") !== false and 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