mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Fixed late property initializing in UnknownBlock (#5755)
This commit is contained in:
parent
edcf0f8405
commit
b8a1b32461
@ -34,8 +34,8 @@ class UnknownBlock extends Transparent{
|
|||||||
private int $stateData;
|
private int $stateData;
|
||||||
|
|
||||||
public function __construct(BlockIdentifier $idInfo, BlockTypeInfo $typeInfo, int $stateData){
|
public function __construct(BlockIdentifier $idInfo, BlockTypeInfo $typeInfo, int $stateData){
|
||||||
parent::__construct($idInfo, "Unknown", $typeInfo);
|
|
||||||
$this->stateData = $stateData;
|
$this->stateData = $stateData;
|
||||||
|
parent::__construct($idInfo, "Unknown", $typeInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function describeBlockItemState(RuntimeDataDescriber $w) : void{
|
public function describeBlockItemState(RuntimeDataDescriber $w) : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user