mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -36,10 +36,9 @@ use function mt_rand;
|
||||
|
||||
class Sapling extends Flowable{
|
||||
|
||||
/** @var bool */
|
||||
protected $ready = false;
|
||||
/** @var TreeType */
|
||||
private $treeType;
|
||||
protected bool $ready = false;
|
||||
|
||||
private TreeType $treeType;
|
||||
|
||||
public function __construct(BlockIdentifier $idInfo, string $name, BlockBreakInfo $breakInfo, TreeType $treeType){
|
||||
parent::__construct($idInfo, $name, $breakInfo);
|
||||
|
Reference in New Issue
Block a user