Mojira Archive
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"

Duplicate

William Young

2016-12-31, 06:10 AM

2017-01-01, 12:51 PM

2017-01-01, 12:22 PM

0

1

Unconfirmed

block-placement, crash, leaves

Minecraft 1.11.2

-