diff --git a/src/math/Vector3.php b/src/math/Vector3.php index 91f425df6..6e01ef398 100644 --- a/src/math/Vector3.php +++ b/src/math/Vector3.php @@ -30,7 +30,7 @@ class Vector3{ public function __construct($x = 0, $y = 0, $z = 0){ if(($x instanceof Vector3) === true){ - $this->__construct($x->x, $x->y, $x->z); + self::__construct($x->x, $x->y, $x->z); }else{ $this->x = $x; $this->y = $y;