mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
Flat: remove useless field
This commit is contained in:
parent
aa682a865e
commit
de9856151a
@ -47,8 +47,6 @@ class Flat extends Generator{
|
||||
*/
|
||||
private $structure;
|
||||
/** @var int */
|
||||
private $floorLevel;
|
||||
/** @var int */
|
||||
private $biome;
|
||||
/** @var string */
|
||||
private $preset;
|
||||
@ -128,8 +126,6 @@ class Flat extends Generator{
|
||||
$options = $preset[3] ?? "";
|
||||
$this->structure = self::parseLayers($blocks);
|
||||
|
||||
$this->floorLevel = count($this->structure);
|
||||
|
||||
//TODO: more error checking
|
||||
preg_match_all('#(([0-9a-z_]{1,})\(?([0-9a-z_ =:]{0,})\)?),?#', $options, $matches);
|
||||
foreach($matches[2] as $i => $option){
|
||||
|
Loading…
x
Reference in New Issue
Block a user