mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Possible solution for #317 [gh#317]
This commit is contained in:
@@ -30,7 +30,7 @@ class Vector3{
|
||||
|
||||
public function __construct($x = 0, $y = 0, $z = 0){
|
||||
if(($x instanceof Vector3) === true){
|
||||
self::__construct($x->x, $x->y, $x->z);
|
||||
Vector3::__construct($x->x, $x->y, $x->z);
|
||||
}else{
|
||||
$this->x = $x;
|
||||
$this->y = $y;
|
||||
|
Reference in New Issue
Block a user