Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-86477

Placing anvil with invalid data value crashes the game

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 15w33c, Minecraft 15w44b
    • None
    • windows 10
    • Confirmed

      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)
      

            Unassigned Unassigned
            mine_craftgaming sam jordan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: