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:
@ -29,8 +29,7 @@ use pocketmine\item\VanillaItems;
|
||||
|
||||
class NetherReactor extends Opaque{
|
||||
|
||||
/** @var int */
|
||||
protected $state = BlockLegacyMetadata::NETHER_REACTOR_INACTIVE;
|
||||
protected int $state = BlockLegacyMetadata::NETHER_REACTOR_INACTIVE;
|
||||
|
||||
protected function writeStateToMeta() : int{
|
||||
return $this->state;
|
||||
|
Reference in New Issue
Block a user