Confusing error message for relative coordinates with too high numbers
Resolved
Fixed
3
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.
What happens: when you try to do a relative teleport the sum of your current position and the relative coordinate you entered is calculated and if it is >30000000 it will throw the error (with the sum of the coordinates because it is higher than 30000000).
An example: I tp myself to 0 100 -1 (will be 0.5 100 -0.5 in the game) and then I relative tp myself to ~ ~ ~30000000 nothing is wrong, but when I relative tp to ~ ~ ~30000000 from 0 100 1 (will be 0.5 100 1.5 in the game) I get the error message because 30000000+1>30000000.
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]'
Can confirm for 1.9.4