Create: Diesel Generators

Create: Diesel Generators

3M Downloads

Explosion near fluid blocks may crash game and break the world if "Combustibles blow up" is true

otiskujawa opened this issue ยท 1 comments

commented

I found an issue where explosion may render world unusable.
After some other mod spawned fireball in xp farm that used create enchantment industry-fabric blocks, that fireball exploded and caused server-side crash.
Same issue happened in similar setting on 2 different single-player worlds and one multiplayer.
In all cases after joining back, game crashed again.

Since issue was in onExplosion event, issue got resolved by disabling COMBUSTIBLES_BLOW_UP or "Combustibles blow up" to false in config file.

Start of the crash log:

Time: 2025-05-11 00:31:28
Description: Ticking entity

java.lang.NullPointerException: Cannot invoke "io.github.fabricators_of_create.porting_lib.fluids.FluidStack.getFluid()" because "fluid" is null
	at knot//com.jesz.createdieselgenerators.Events.onExplosion(Events.java:99)
	at knot//io.github.fabricators_of_create.porting_lib.event.common.ExplosionEvents.lambda$static$2(ExplosionEvents.java:22)
	at knot//net.minecraft.class_1927.handler$zbn000$porting_lib_base$onExplode(class_1927.java:528)

Full crash log:
crash-2025-05-11_00.31.28-server.txt

Screenshot of area where fireball exploded
Image

commented

This issue was recently fixed in Create: Diesel Generators [Fabric Restitched], a fork of the old Fabric port! The other Fabric port is no longer maintained, so I recommend switching over. Note that neither of the Fabric ports are maintained by the original author (as far as I know), so Fabric issues are probably not relevant to this repo.

https://github.com/mircey/create-diesel-generators-fabric-restitched
https://modrinth.com/mod/create-diesel-generators-fabric-restitched