mojira.dev
MC-36

Using /tp on a player in different world will teleport to needed coordinates, but not change the world

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

You can't /tp to different Dimensions

It still teleports you, and you get stuck.

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.

It would be great if you could use the /teleport command to switch dimensions as well! (for Adventure maps or Multiplayer)

xPaw

(Unassigned)

Unconfirmed

Minecraft 1.4.1, Minecraft 1.4.2

Minecraft 1.4.3

Retrieved