mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 08:19:45 +00:00
Position: mark level field as nullable
allowing the level to be null is, to be honest, a big design flaw, but one that can't be fixed without BC breaks.
This commit is contained in:
parent
d867ffc60d
commit
39c607cbd5
@ -29,7 +29,7 @@ use function assert;
|
|||||||
|
|
||||||
class Position extends Vector3{
|
class Position extends Vector3{
|
||||||
|
|
||||||
/** @var Level */
|
/** @var Level|null */
|
||||||
public $level = null;
|
public $level = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user