mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-26 05:14:05 +00:00
Flat: use block names instead of legacy block IDs for hardcoded preset
This commit is contained in:
parent
de9856151a
commit
7bcfece11e
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user