mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 16:29:40 +00:00
Position::__construct() accepts floats for x,y,z
This commit is contained in:
parent
1370930ea9
commit
e8d3a25028
@ -33,10 +33,10 @@ class Position extends Vector3{
|
|||||||
public $level = null;
|
public $level = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $x
|
* @param float|int $x
|
||||||
* @param int $y
|
* @param float|int $y
|
||||||
* @param int $z
|
* @param float|int $z
|
||||||
* @param Level $level
|
* @param Level $level
|
||||||
*/
|
*/
|
||||||
public function __construct($x = 0, $y = 0, $z = 0, Level $level = null){
|
public function __construct($x = 0, $y = 0, $z = 0, Level $level = null){
|
||||||
parent::__construct($x, $y, $z);
|
parent::__construct($x, $y, $z);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user