Modernize Position and Location

[bc break]
This commit is contained in:
Dylan K. Taylor
2022-06-01 21:21:31 +01:00
parent 7b8eeb42f6
commit 2bb99fa677
2 changed files with 4 additions and 13 deletions

View File

@@ -29,10 +29,8 @@ use pocketmine\world\World;
class Location extends Position{
/** @var float */
public $yaw;
/** @var float */
public $pitch;
public float $yaw;
public float $pitch;
public function __construct(float $x, float $y, float $z, ?World $world, float $yaw, float $pitch){
$this->yaw = $yaw;