
Dispenser interaction with gunpowder-filled ceramic bowls causing crash
JotredDev opened this issue ยท 2 comments
Problem:
Interaction between a dispenser using a Flint and Steel and a gunpowder-filled ceramic bowl causes the game to crash, and, despite triggering the explosion, does not consume durability from the Flint and Steel.
Intended Behaviour:
No crash should happen, especially as gunpowder-filled ceramic bowls are very unsafe to trigger by hand. Furthermore, the Flint and Steel should lose a point of durability, to match what happens when a player uses one to trigger the explosion of a gunpowder-filled ceramic bowl.
Reproduction steps:
- Open a TFC instance of your choice (for reproduction purposes I chose to only use the most up-to-date versions of TFC and Patchouli available on CurseForge at time of writing, those being
TerraFirmaCraft-Forge-1.20.1-3.2.14.jar
andPatchouli-1.20.1-84.1-FORGE.jar
) - Make a new world
- Set up a gunpowder-filled ceramic bowl and dispenser facing the bowl, like depicted in this screenshot (dispenser may also be above or below the bowl, as long as it faces the bowl)
- Put a Flint and Steel in the dispenser
- Power the dispenser
Upon powering the dispenser, the explosion is triggered, directly followed by the game crashing with the following error message:
exception ticking world Error: java.lang.IllegalArgumentException: Cannot get property DirectionProperty{name=facing, clazz=class net.minecraft.core.Direction, values=[north, east, south, west, up, down]} as it does not exist in Block{minecraft:air}