You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Teleporting a player to a location with yaw & pitch values passed in will set the player's yaw & pitch to the defined values no matter what.
Actual Behavior
If you teleport a player to a location whilst they are moving such as falling, the yaw & pitch will be incorrect at their teleport location (x, y, & z coordinates are correct).
Steps to Reproduce
Teleport a player to a location whilst they are moving such as falling using code below. If the player isn't moving the yaw & pitch will be correct at the teleport location.
If you want to test this easily, you can fly high up in air, drop & whilst falling say something random in chat to run the method to teleport you, you can change the x, y or z values in the teleportToSpawn method so that there is a block under your feet when you teleport.
Expected Behavior
Teleporting a player to a location with yaw & pitch values passed in will set the player's yaw & pitch to the defined values no matter what.
Actual Behavior
If you teleport a player to a location whilst they are moving such as falling, the yaw & pitch will be incorrect at their teleport location (x, y, & z coordinates are correct).
Steps to Reproduce
Teleport a player to a location whilst they are moving such as falling using code below. If the player isn't moving the yaw & pitch will be correct at the teleport location.
Debug information
Checklist:
/debugpaste
linkThe text was updated successfully, but these errors were encountered: