mojira.dev
MC-122187

Teleported to coordinates wrong when teleporting entities relatively

When teleporting entities relatively (outside the world border) the coordinates printed to chat are too large.


When executing (from e.g. 0.5, 0, 0.5):

/teleport {entity} ~10000000000000 ~ ~

The output is:

Teleported {entity} to 1.00000000000005E13, 0.0, 0.5

And not

Teleported {entity} to 29999999, 0.0, 0.0

Linked issues

Comments 1

This issue has been fixed in 20w06a by implementing a position check when executing the teleport and tp commands.

tomudding

(Unassigned)

Confirmed

(Unassigned)

Minecraft 17w47a, Minecraft 17w48a, Minecraft 18w01a, Minecraft 18w07a, Minecraft 18w08b, ..., 19w39a, 19w41a, 19w42a, 1.15 Pre-release 1, 1.15 Pre-Release 2

20w06a

Retrieved