TerraFirmaCraft

TerraFirmaCraft

3M Downloads

Dispenser interaction with gunpowder-filled ceramic bowls causing crash

JotredDev opened this issue ยท 2 comments

commented

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:

  1. 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 and Patchouli-1.20.1-84.1-FORGE.jar)
  2. Make a new world
  3. 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)
    Image
  4. Put a Flint and Steel in the dispenser
  5. 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}

commented

Please post the full log.

commented

The server crash log is here, latest.log is here, debug.log is here