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:
@ -37,8 +37,7 @@ use function mt_rand;
|
||||
|
||||
class Fire extends Flowable{
|
||||
|
||||
/** @var int */
|
||||
protected $age = 0;
|
||||
protected int $age = 0;
|
||||
|
||||
protected function writeStateToMeta() : int{
|
||||
return $this->age;
|
||||
|
Reference in New Issue
Block a user