mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
BaseCoral: fixed late property initialization
This commit is contained in:
parent
e40774d62f
commit
b122703fd0
@ -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{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user