mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
BaseCoral: fixed late property initialization
This commit is contained in:
@ -34,8 +34,8 @@ abstract class BaseCoral extends Transparent{
|
|||||||
use CoralTypeTrait;
|
use CoralTypeTrait;
|
||||||
|
|
||||||
public function __construct(BlockIdentifier $idInfo, string $name, BlockTypeInfo $typeInfo){
|
public function __construct(BlockIdentifier $idInfo, string $name, BlockTypeInfo $typeInfo){
|
||||||
parent::__construct($idInfo, $name, $typeInfo);
|
|
||||||
$this->coralType = CoralType::TUBE();
|
$this->coralType = CoralType::TUBE();
|
||||||
|
parent::__construct($idInfo, $name, $typeInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function onNearbyBlockChange() : void{
|
public function onNearbyBlockChange() : void{
|
||||||
|
Reference in New Issue
Block a user