-
Bug
-
Resolution: Fixed
-
Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre2, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w37a, Minecraft 15w46a, Minecraft 15w51b, Minecraft 16w02a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.11.2
-
None
-
Windows 8
-
Confirmed
What I expected to happen was...:
it placed a wood block
What actually happened was...:
it crashed the game
Steps to Reproduce:
1. Get a log2 or leaves2 with setblock, fill or give with one of the following data values: 2/3/6/7/10/11/14/15
2. place the block
3. crash
Description: Unexpected error
java.lang.IllegalArgumentException: Cannot set property arg{name=variant, clazz=class ana$a, values=[acacia, dark_oak]} to oak on block minecraft:log2, it is not an allowed value
at aqu$a.a(SourceFile:177)
at ams.a(SourceFile:54)
at amh.a(SourceFile:51)
at abv.a(SourceFile:49)
at adk.a(SourceFile:134)
at bke.a(SourceFile:345)
at bby.au(SourceFile:1426)
at bby.ax(SourceFile:1931)
at bby.aw(SourceFile:1749)
at bby.s(SourceFile:1593)
at bby.as(SourceFile:941)
at bby.a(SourceFile:385)
at net.minecraft.client.main.Main.main(SourceFile:122)
The issue is that leaves2/log2 only have 2 set values(acacia and dark oak), and 2 invalid ones for the variant block state. By setting/getting these data values, the variant state is returned as invalid value, and the game doesn't like that.
- is duplicated by
-
MC-79550 superflat invalid metadata crash
- Resolved
-
MC-88808 Placing minecraft:log2 with invalid data values crashes the placer
- Resolved
-
MC-94839 Log2 Data Value Crash
- Resolved
-
MC-99027 Log Placement (Tree Log)
- Resolved
-
MC-112086 Placing block leaves2 with damage value 2 crashes game
- Resolved
- relates to
-
MC-56893 Crash When Placing Log
- Resolved