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,8 @@ use pocketmine\world\BlockTransaction;
|
||||
class Stair extends Transparent{
|
||||
use HorizontalFacingTrait;
|
||||
|
||||
/** @var bool */
|
||||
protected $upsideDown = false;
|
||||
|
||||
/** @var StairShape */
|
||||
protected $shape;
|
||||
protected bool $upsideDown = false;
|
||||
protected StairShape $shape;
|
||||
|
||||
public function __construct(BlockIdentifier $idInfo, string $name, BlockBreakInfo $breakInfo){
|
||||
$this->shape = StairShape::STRAIGHT();
|
||||
|
Reference in New Issue
Block a user