This can result in player suffocating in a wall.
For example, you can try to teleport to a player in nether, while you are in overworld.
Comments 5
In 1.2.5 it used to refuse to tp with a message "Players are in different dimensions, no tp". Now it does the tp, but you can end up suffocating in stone or drowning in lava etc.
An example for clarity:
Player1 is in the overworld at x2000 y64 z2000
Player2 is in the nether at x20 y64 z-10
Player2 types:
/tp Player2 Player1
What I expected to happen was..:
Either
1) Error message "Players are in different dimensions, no tp" (this was previous behaviour)
or
2) Player2 is sent to target dimension and then teleported to the coordinates of Player1
What actually happened was...:
Player2 is teleported to x2000 y64 z2000 in the nether. Leading to potential suffocation, fall damage or lava death, depending on terrain. Also unnecessary chunks are generated if they didn't already exist.
Steps to reproduce:
Have one player go into the nether or end. Have another player go into or remain in the overworld. Attempt a /tp of one player to the other
I believe this bug was introduced when the ability to tp to specific coordinates was introduced.
You can't /tp to different Dimensions