mojira.dev
MC-45778

Player orientation set to 0 when teleporting while sneaking

When using the /tp command on a player that is currently shifting the orientation of that player will be reset to 0.

Tested with a commandblock clock:
1. Create a commandblock with

/tp @p[r=5] ~-1 ~ ~

(or something similar)
2. Connect it with a simple clock
3. Walk in the detection radius: You will be teleported correctly, without changing the orientation
4. Now sneak and walk again into the radius: You will be teleported, but now looking in another direction (always 0, see debug screen).

Linked issues

Comments 2

This is a duplicate of MC-45261. Please use the search function to check before posting in the future. If you could not find the original report, please comment with the keywords you searched for.

Well, I searched for teleport and orientation, from which the latter isn't in the other bug report. Position isn't quite the correct description of the bug.

rene_z

(Unassigned)

Unconfirmed

Minecraft 14w04b

Retrieved