mojira.dev
MC-2915

Attempting to tp to an invalid coordinate returns "commands.generic.double.invalid"

When you attempt to tp to an invalid coordinate (e.g. "/tp [player] invalidcoordinate"), the game will not return a proper error message, instead returning "commands.generic.double.invalid".

Linked issues

Attachments

Comments

Chalmes (Jon)

Which language pack are you using?

kumasasa

Reproducible with "/tp player 1,2 3,4 5,6"

DevEd

I'm using the English US language pack.

kumasasa

At http://crowdin.net/project/minecraft the source string for commands.generic.double.invalid is missing , so yet there is no other text to display.

Chalmes (Jon)

Yeah sorry, it was a stab in the dark with the language thing. I can had a quick peek code-wise and those exceptions are not localised.

kumasasa

That specific exception is not localized, other are, e.g. commands.generic.num.invalid

DevEd

The link is broken (spelling error in address) (EDIT: not anymore :O)

kumasasa

Thanks, link fixed.

Michele Gilkens

(removed spam)

Tails

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

tyler busby

This also happens if you type in something like

/tp slowfreq 4.0 100.0 2.0, or numbers ending in .0.

Darth_Feder

Happened to me when trying to tp relative to my location, which was at bedrock at the time.

Name Here

Same, comfirmed in 1.6.2, its more of a minor fix. i tried "/tp @p ~0 ~20 ~0t" i pressed t again after the up arrow. same weird error showed up, so i searched for it here 😃 Edit, English language btw.

James Adam Rose

I think its sorted but i cant be sure about 1.6.2

DevEd

migrated

Confirmed

command

Minecraft 1.4.2, Minecraft 1.4.4, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w02a, Snapshot 13w02b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1

Minecraft 13w36a

Retrieved