mojira.dev
MC-86477

Placing anvil with invalid data value crashes the game

when placing an anvil received using /give @p minecraft:anvil 1 16
the game crashed

java.lang.IllegalArgumentException: Cannot set property apu{name=damage, clazz=class java.lang.Integer, values=[0, 1, 2]} to 16 on block minecraft:anvil, it is not an allowed value
	at aph$a.a(SourceFile:144)
	at ahv.a(SourceFile:53)
	at aax.a(SourceFile:48)
	at acj.a(SourceFile:132)
	at bha.a(SourceFile:318)
	at ayy.aw(SourceFile:1354)
	at ayy.s(SourceFile:1808)
	at ayy.au(SourceFile:879)
	at ayy.a(SourceFile:328)
	at net.minecraft.client.main.Main.main(SourceFile:125)

Linked issues

Attachments

Comments 0

No comments.

sam jordan

(Unassigned)

Confirmed

Minecraft 15w33c, Minecraft 15w44b

Retrieved