mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -36,11 +36,9 @@ class Furnace extends Opaque{
|
||||
readStateFromData as readFacingStateFromData;
|
||||
}
|
||||
|
||||
/** @var BlockIdentifierFlattened */
|
||||
protected $idInfoFlattened;
|
||||
protected BlockIdentifierFlattened $idInfoFlattened;
|
||||
|
||||
/** @var bool */
|
||||
protected $lit = false; //this is set based on the blockID
|
||||
protected bool $lit = false; //this is set based on the blockID
|
||||
|
||||
public function __construct(BlockIdentifierFlattened $idInfo, string $name, BlockBreakInfo $breakInfo){
|
||||
$this->idInfoFlattened = $idInfo;
|
||||
|
Reference in New Issue
Block a user