Mojira Archive
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