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:
@ -32,11 +32,10 @@ use pocketmine\player\Player;
|
||||
use pocketmine\world\BlockTransaction;
|
||||
|
||||
class Slab extends Transparent{
|
||||
/** @var BlockIdentifierFlattened */
|
||||
protected $idInfoFlattened;
|
||||
|
||||
/** @var SlabType */
|
||||
protected $slabType;
|
||||
protected BlockIdentifierFlattened $idInfoFlattened;
|
||||
|
||||
protected SlabType $slabType;
|
||||
|
||||
public function __construct(BlockIdentifierFlattened $idInfo, string $name, BlockBreakInfo $breakInfo){
|
||||
$this->idInfoFlattened = $idInfo;
|
||||
|
Reference in New Issue
Block a user