mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -43,12 +43,9 @@ use pocketmine\world\World;
|
||||
class Bed extends Transparent{
|
||||
use HorizontalFacingTrait;
|
||||
|
||||
/** @var bool */
|
||||
protected $occupied = false;
|
||||
/** @var bool */
|
||||
protected $head = false;
|
||||
/** @var DyeColor */
|
||||
protected $color;
|
||||
protected bool $occupied = false;
|
||||
protected bool $head = false;
|
||||
protected DyeColor $color;
|
||||
|
||||
public function __construct(BlockIdentifier $idInfo, string $name, BlockBreakInfo $breakInfo){
|
||||
parent::__construct($idInfo, $name, $breakInfo);
|
||||
|
Reference in New Issue
Block a user