mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Use typed properties in block namespace
This commit is contained in:
@ -39,8 +39,7 @@ use function max;
|
||||
class SnowLayer extends Flowable implements Fallable{
|
||||
use FallableTrait;
|
||||
|
||||
/** @var int */
|
||||
protected $layers = 1;
|
||||
protected int $layers = 1;
|
||||
|
||||
protected function writeStateToMeta() : int{
|
||||
return $this->layers - 1;
|
||||
|
Reference in New Issue
Block a user