Create Crafts & Additions

Create Crafts & Additions

51M Downloads

Boiler heater is registered too early, causing crashes

TropheusJ opened this issue ยท 3 comments

commented

The LIQUID_BLAZE_BURNER heater is registered before the block is registered. Registered blocks are looked up in the registry, but since it's not registered yet, air is found. So when the heater is called, it gets air, checks for a property that doesn't exist on air, and the game crashes.
Fix is simple, move the heater registration after block registration (bottom of onInitialize).

Supersedes #416, #407, #384

commented

@mrh0 Please look at this!

commented

ye I ended up switching to resource locations for the fabric branch. Works like a charm.

commented

Fixes in 20221219a.