mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Modernize property declarations in pocketmine\block namespace
This commit is contained in:
@ -29,10 +29,8 @@ final class Beacon extends Spawnable{
|
||||
private const TAG_PRIMARY = "primary"; //TAG_Int
|
||||
private const TAG_SECONDARY = "secondary"; //TAG_Int
|
||||
|
||||
/** @var int */
|
||||
private $primaryEffect = 0;
|
||||
/** @var int */
|
||||
private $secondaryEffect = 0;
|
||||
private int $primaryEffect = 0;
|
||||
private int $secondaryEffect = 0;
|
||||
|
||||
protected function addAdditionalSpawnData(CompoundTag $nbt) : void{
|
||||
$nbt->setInt(self::TAG_PRIMARY, $this->primaryEffect);
|
||||
|
Reference in New Issue
Block a user