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
/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)
...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.