diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index c6ab54768..481fdc335 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -3023,7 +3023,7 @@ public function teleport(Vector3 $pos, $yaw = null, $pitch = null){ $this->removeWindow($this->currentWindow); } $this->forceMovement = new Vector3($this->x, $this->y, $this->z); - $this->sendPosition($this, $this->pitch, $this->yaw, MovePlayerPacket::MODE_RESET); + $this->sendPosition($this, $this->yaw, $this->pitch, MovePlayerPacket::MODE_RESET); $this->resetFallDistance(); $this->nextChunkOrderRun = 0;