mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
FInal fix #312
This commit is contained in:
parent
ffd8ac2879
commit
1b50bd6e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue