mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
another very critical bug(almost readme.md bug) fixed
This commit is contained in:
parent
f7fb798c0f
commit
93501d1bba
1 changed files with 1 additions and 0 deletions
|
|
@ -326,6 +326,7 @@ class PlayerAPI{
|
||||||
$origin = $this->get($name);
|
$origin = $this->get($name);
|
||||||
if($origin instanceof Player){
|
if($origin instanceof Player){
|
||||||
$name = $origin->username;
|
$name = $origin->username;
|
||||||
|
$target = $player->username;
|
||||||
return $origin->teleport($player->entity);
|
return $origin->teleport($player->entity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue