Flat: use block names instead of legacy block IDs for hardcoded preset

This commit is contained in:
Dylan K. Taylor 2020-08-06 12:58:49 +01:00
parent de9856151a
commit 7bcfece11e

View File

@ -63,8 +63,8 @@ class Flat extends Generator{
if(isset($this->options["preset"]) and $this->options["preset"] != ""){ if(isset($this->options["preset"]) and $this->options["preset"] != ""){
$this->preset = $this->options["preset"]; $this->preset = $this->options["preset"];
}else{ }else{
$this->preset = "2;7,2x3,2;1;"; $this->preset = "2;bedrock,2xdirt,grass;1;";
//$this->preset = "2;7,59x1,3x3,2;1;spawn(radius=10 block=89),decoration(treecount=80 grasscount=45)"; //$this->preset = "2;bedrock,59xstone,3xdirt,grass;1;spawn(radius=10 block=89),decoration(treecount=80 grasscount=45)";
} }
$this->parsePreset(); $this->parsePreset();