mojira.dev

The game Crashes when I tried to give myself a non-existent, or "removed" Item ID such as Block 36 or Item #500 (just examples).
It doesent corrupt the world however.

Linked issues

Attachments

Comments 5

...Yes, it produces a "NullPointerException"; because it tried to get data, but there is none => it fails. Sure, it would be nice to have a "catch" here, but then it is more of a suggestion.

/give @p 144

Adding item to inventory

java.lang.NullPointerException
	at zi.g(SourceFile:151)
	at zi.i(SourceFile:171)
	at vd.a(SourceFile:234)
	at tq.b_(SourceFile:199)
	at vf.r(SourceFile:436)
	at vf.e(SourceFile:428)
	at pb.h(SourceFile:1194)

Umm this isn't resolved. MOD PLEAE UPDATE. Still an issue in 13w39b.

It is resolved.
Did you look at the resolution ?

Wrong ticket. Whoops 🙂

Godlike Block

(Unassigned)

Confirmed

block, crash, item

Minecraft 13w39a, Minecraft 13w39b

Retrieved