From 93501d1bbac7410080c66613afa61fd4f2742ebd Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Sat, 7 Jun 2025 14:26:49 +0300 Subject: [PATCH] another very critical bug(almost readme.md bug) fixed --- src/API/PlayerAPI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/API/PlayerAPI.php b/src/API/PlayerAPI.php index 95c7302b..2385b9af 100644 --- a/src/API/PlayerAPI.php +++ b/src/API/PlayerAPI.php @@ -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); } }