mojira.dev
MC-112086

Placing block leaves2 with damage value 2 crashes game

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"

Linked issues

Attachments

Comments

[Mod] Neko

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.

We do not have enough information to find the cause of this issue.
Please attach the crash report (.minecraft/crash-reports/crash-<DATE>-client.txt) here.

Once attached, the report will be reopened automatically.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

migrated

Attached 3 crash reports- 2 in a superflat world, 1 in a normal world.

migrated

(Unassigned)

Unconfirmed

block-placement, crash, leaves

Minecraft 1.11.2

Retrieved