mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
more ??
This commit is contained in:
parent
6034357f78
commit
7d3fac87ab
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ class SuperflatGenerator implements LevelGenerator{
|
|||
$preset = explode(";", $preset);
|
||||
$version = (int) $preset[0];
|
||||
$blocks = @$preset[1];
|
||||
$biome = isset($preset[2]) ? $preset[2] : 1;
|
||||
$options = isset($preset[3]) ? $preset[3] : "";
|
||||
$biome = $preset[2] ?? 1;
|
||||
$options = $preset[3] ?? "";
|
||||
preg_match_all('#(([0-9]{0,})x?([0-9]{1,3}:?[0-9]{0,2})),?#', $blocks, $matches);
|
||||
$y = 0;
|
||||
$this->structure = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue