mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Position: call parent constructor
This commit is contained in:
parent
596c8a7b4f
commit
dd844f7ad3
@ -38,9 +38,7 @@ class Position extends Vector3{
|
||||
* @param Level $level
|
||||
*/
|
||||
public function __construct($x = 0, $y = 0, $z = 0, Level $level = null){
|
||||
$this->x = $x;
|
||||
$this->y = $y;
|
||||
$this->z = $z;
|
||||
parent::__construct($x, $y, $z);
|
||||
$this->level = $level;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user