mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Flat: clean up more garbage
This commit is contained in:
parent
172abef2a7
commit
e3c97d7d5e
@ -37,7 +37,14 @@ class Flat extends Generator{
|
||||
private $chunk;
|
||||
/** @var Populator[] */
|
||||
private $populators = [];
|
||||
private $structure, $chunks, $options, $floorLevel, $preset;
|
||||
/** @var int[][] */
|
||||
private $structure;
|
||||
/** @var int */
|
||||
private $floorLevel;
|
||||
/** @var mixed[] */
|
||||
private $options;
|
||||
/** @var string */
|
||||
private $preset;
|
||||
|
||||
public function getSettings() : array{
|
||||
return $this->options;
|
||||
@ -92,8 +99,6 @@ class Flat extends Generator{
|
||||
$options = (string) ($preset[3] ?? "");
|
||||
$this->structure = self::parseLayers($blocks);
|
||||
|
||||
$this->chunks = [];
|
||||
|
||||
$this->floorLevel = $y = count($this->structure);
|
||||
|
||||
$this->chunk = new Chunk(0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user