mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 03:51:37 +00:00
Modernize Position and Location
[bc break]
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user