mojira.dev
MC-16074

Teleporting to "NaN" (not a number) crashes the game

Put the summary of the bug you're having here

The game should have produced rainbows

I typed /tp tripplehelix NaN 0 0
then boom no rainbows.

Linked issues

Attachments

Comments 9

Confirmed.
Note:

Description: Unexpected error

java.lang.ArithmeticException: / by zero
	at bdg.a(SourceFile:476)
	at bcz.a(SourceFile:827)
	at bcz.b(SourceFile:682)
	at asm.O(SourceFile:611)
	at asm.c(SourceFile:544)
	at net.minecraft.client.main.Main.main(SourceFile:78)

Crashed in 13w22a.

Hmm, for me it just lags for a while and then puts me at the correct location.

Now I cant teleport to NaN.
That isn't a fix.
Besides,

Client> 2013-06-07 15:03:54 [CLIENT] [INFO] [CHAT] commands.generic.double.invalid

And I think this only describes nan and 0.

Why on earth would you want to teleport to NaN?

You might want to make a new ticket about that untranslated string.

Hm. Teleported in 1.5.2, and my speakers popped and the game lagged, plus if I did /kill, nothing would happen.

The crash seems to sometimes occur, sometimes not.
The pop is just NaN being awesome.
/kill doesn't work, but if you tp to a non-nan place, you should be fine.

Tom Miller

Nathan Adams

Confirmed

crash

Snapshot 13w19a, Snapshot 13w21b, Snapshot 13w22a

Snapshot 13w23a

Retrieved