mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
FInal fix #312
This commit is contained in:
parent
ffd8ac2879
commit
1b50bd6e0f
@ -30,7 +30,7 @@ class Vector3{
|
|||||||
|
|
||||||
public function __construct($x = 0, $y = 0, $z = 0){
|
public function __construct($x = 0, $y = 0, $z = 0){
|
||||||
if(($x instanceof Vector3) === true){
|
if(($x instanceof Vector3) === true){
|
||||||
$this->__construct($x->x, $x->y, $x->z);
|
self::__construct($x->x, $x->y, $x->z);
|
||||||
}else{
|
}else{
|
||||||
$this->x = $x;
|
$this->x = $x;
|
||||||
$this->y = $y;
|
$this->y = $y;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user