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

Placing block leaves2 with damage value 2 crashes game

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.11.2
    • Fix Version/s: None
    • Environment:
      Windows 10 64-bit
      Intel Core i7 Kaby Lake 7500U
      Intel Graphics 520
      16gb RAM
    • Confirmation Status:
      Unconfirmed
    • Game Mode:
      Creative

      Description

      I used the /give command to give myself item leaves2 with a damage value of 2.

      What I expected to happen was that the game would render it as a random leaf texture as it does with invalid leaf damage values.

      What happened was my game crashed.

      Steps to Reproduce:
      1. Use command /give @p leaves2 1 2
      2. Place the leaf block
      3. The game crashes, saying: "java.lang.IllegalArgumentException: Cannot set property atz

      {name=variant, clazz=class apn$a, values=[acacia, dark_oak]}

      to oak on block minecraft:leaves2, it is not an allowed value"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                capbloo William Young
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: