Game crashes when dispenser with shears is used on non-beehive block in #beehives tag
Clones MC-175740
How to reproduce
- Create a new world with the attached datapack (or use attached one)
- Place cobblestone
- Place dispenser with shears facing the cobblestone
- Place redstone block next to dispenser
- Crash triggers
Stack trace
Description: Exception ticking world
java.lang.IllegalArgumentException: Cannot get property cpd{name=honey_level, clazz=class java.lang.Integer, values=[0, 1, 2, 3, 4, 5]} as it does not exist in Block{minecraft:cobblestone}
at coe.c(SourceFile:98)
at hl.a(SourceFile:41)
at hl.a(SourceFile:30)
at hi.dispense(SourceFile:15)
at cet.a(SourceFile:90)
at cet.a(SourceFile:113)
at cob$a.a(SourceFile:917)
at adi.d(SourceFile:688)
at dpt.a(SourceFile:215)
at dpt.a(SourceFile:98)
at adi.a(SourceFile:298)
at net.minecraft.server.MinecraftServer.b(SourceFile:879)
at net.minecraft.server.MinecraftServer.a(SourceFile:823)
at fcv.a(SourceFile:99)
at net.minecraft.server.MinecraftServer.w(SourceFile:684)
at net.minecraft.server.MinecraftServer.a(SourceFile:270)
at java.base/java.lang.Thread.run(Thread.java:833)