diff --git a/src/world/generator/object/OreType.php b/src/world/generator/object/OreType.php index e9ea680c7..96c46b8d7 100644 --- a/src/world/generator/object/OreType.php +++ b/src/world/generator/object/OreType.php @@ -26,25 +26,12 @@ namespace pocketmine\world\generator\object; use pocketmine\block\Block; class OreType{ - /** @var Block */ - public $material; - /** @var Block */ - public $replaces; - /** @var int */ - public $clusterCount; - /** @var int */ - public $clusterSize; - /** @var int */ - public $maxHeight; - /** @var int */ - public $minHeight; - - public function __construct(Block $material, Block $replaces, int $clusterCount, int $clusterSize, int $minHeight, int $maxHeight){ - $this->material = $material; - $this->replaces = $replaces; - $this->clusterCount = $clusterCount; - $this->clusterSize = $clusterSize; - $this->maxHeight = $maxHeight; - $this->minHeight = $minHeight; - } + public function __construct( + public Block $material, + public Block $replaces, + public int $clusterCount, + public int $clusterSize, + public int $minHeight, + public int $maxHeight + ){} }