Updated flat preset, do not allow empty Level names

This commit is contained in:
Shoghi Cervantes Pueyo
2013-05-19 20:53:12 +02:00
parent bb9067acd7
commit a7a45dfe96
3 changed files with 5 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class SuperflatGenerator implements LevelGenerator{
private $level, $random, $structure, $chunks, $options, $floorLevel;
public function __construct(array $options = array()){
$this->preset = "2;7,2x3,2;1;spawn(radius=10 block=24)";
$this->preset = "2;7,59x1,3x3,2;1;spawn(radius=10 block=89),trees";
$this->options = $options;
if(isset($options["preset"])){
$this->parsePreset($options["preset"]);