george8188625 / Create-Diesel-Generators

Source code of Create Diesel Generators mod
https://www.curseforge.com/minecraft/mc-mods/create-diesel-generators
MIT License
22 stars 36 forks source link

[1.18.2] Client crashes while pondering item #60

Closed NeroWT closed 9 months ago

NeroWT commented 11 months ago

When pondering the Diesel engine item, the client crashes with the error code:

java.lang.NullPointerException: Cannot invoke "com.jesz.createdieselgenerators.other.CDGFuelType.getGeneratedNormal()" because the return value of "com.jesz.createdieselgenerators.other.FuelTypeManager.getType(net.minecraft.world.level.material.Fluid)" is null

Nycto97 commented 11 months ago

Also happens on 1.19.2, reported in #58

NeroWT commented 11 months ago

Also happens on 1.19.2, reported in #58

Yes, i had read it but because it happened on 1.19.2 i thought i'd report the issue with the version i was working with (1.18.2)

NeroWT commented 10 months ago

Update: As of 2/1/2024 i've just noticed that the Modular engine also crashes the game, it seems as if loading/rendering a modification in kinetic speed because of the create mod makes the game crash client-wise

Suspected Mods: 
    Create Diesel Generators (createdieselgenerators), Version: 1.18.2-1.2f
        at TRANSFORMER/createdieselgenerators@1.18.2-1.2f/com.jesz.createdieselgenerators.ponder.DieselEngineScenes.lambda$small$5(DieselEngineScenes.java:87)

    Create (create), Version: 0.5.1.b
        Issue tracker URL: https://github.com/Creators-of-Create/Create/issues
        at TRANSFORMER/create@0.5.1.b/com.simibubi.create.foundation.ponder.SceneBuilder$WorldInstructions.lambda$modifyKineticSpeed$30(SceneBuilder.java:783)
george8188625 commented 10 months ago

Next version should fix that. I imagine huge engines crash too