mojira.dev
MC-101135

Confusing error message for relative coordinates with too high numbers

The bug

When you enter a too high relative number for a command the error message calls the sum of your position and the relative teleport value "the number you entered" instead of the relative value you entered.

How to reproduce

  1. Go to a x coordinate other than 0

  2. Use the following command

    /tp @p ~60000000.0 ~ ~

    → It says as number you entered the sum

Attachments

Comments 12

Can confirm for 1.9.4

Can confirm for 16w20a

Can confirm for 1.10.1.

Can confirm for 16W40A

Can confirm for 1.11

2 more comments

Can confirm for pre 1 and pre 2.

@@unknown would you like to become the reporter of this report?

This is no longer an issue in the latest snapshot (17w45a). When you use a number that was previously too high it will teleport you to the world border (a few blocks outside it to be precise).

A new thing I noticed when doing this: it'll show the wrong 'Teleported [player] entities to [coordinate]'

Marcono1234

tomudding

(Unassigned)

Confirmed

coordinate, error-message, relative

Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 1.10.1, Minecraft 1.10.2, ..., Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2

Minecraft 17w45a

Retrieved