mojira.dev
MC-246445

Game crashes when dispenser with shears is used on non-beehive block in #beehives tag

Clones MC-175740

How to reproduce

  1. Create a new world with the attached datapack (or use attached one)

  2. Place cobblestone

  3. Place dispenser with shears facing the cobblestone

  4. Place redstone block next to dispenser

  5. Crash triggers

Stack trace

1.18.1\: [^crash-2021-12-27_00.03.52-server.txt]

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)

Linked issues

Attachments

Comments 0

No comments.

apple502j

Panda4994

Confirmed

Important

Crash

1.18.1

22w03a

Retrieved