Clean up garbage in Tree populators

This commit is contained in:
Dylan K. Taylor
2018-10-15 18:08:07 +01:00
parent cfee0a4e0b
commit 70054de575
5 changed files with 32 additions and 33 deletions

View File

@ -29,13 +29,11 @@ use pocketmine\level\ChunkManager;
use pocketmine\utils\Random;
class BirchTree extends Tree{
/** @var bool */
protected $superBirch = false;
public function __construct(bool $superBirch = false){
$this->trunkBlock = Block::LOG;
$this->leafBlock = Block::LEAVES;
$this->type = Wood::BIRCH;
parent::__construct(Block::LOG, Block::LEAVES, Wood::BIRCH);
$this->superBirch = $superBirch;
}