another very critical bug(almost readme.md bug) fixed

This commit is contained in:
GameHerobrine 2025-06-07 14:26:49 +03:00
parent f7fb798c0f
commit 93501d1bba

View file

@ -326,6 +326,7 @@ class PlayerAPI{
$origin = $this->get($name);
if($origin instanceof Player){
$name = $origin->username;
$target = $player->username;
return $origin->teleport($player->entity);
}
}