mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 09:19:42 +00:00
Location::__construct() accepts floats for x,y,z
This commit is contained in:
parent
e8d3a25028
commit
77f7595e0e
@ -33,9 +33,9 @@ class Location extends Position{
|
|||||||
public $pitch;
|
public $pitch;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $x
|
* @param float|int $x
|
||||||
* @param int $y
|
* @param float|int $y
|
||||||
* @param int $z
|
* @param float|int $z
|
||||||
* @param float $yaw
|
* @param float $yaw
|
||||||
* @param float $pitch
|
* @param float $pitch
|
||||||
* @param Level $level
|
* @param Level $level
|
||||||
|
Loading…
x
Reference in New Issue
Block a user