[Bug]: Game crashes on steel ingot being placed in coal generator
science-quiz opened this issue · 4 comments
Bug Description
I accidentally shift clicked a steel ingot into the coal generator. This caused the game to crash with the exception:
The game crashed whilst ticking block entity Error: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "net.fabricmc.fabric.api.registry.FuelRegistry.get(net.minecraft.class_1935)" is null
The world is unable to be recovered and upon loading repeats the error.
How to Reproduce?
- Load up a world with Ad Astra and its dependencies, no other mods.
- Place a coal generator
- Place a steel ingot in the coal generator.
Expected Behavior
Either the ingot is unable to be inserted as fuel, or insertion does not cause a crash or any power generation.
Version
1.11.4
Mod Loader Version
0.14.9-1.19.2
Mod Loader
Fabric
Logs or additional context
Crash report: https://pastebin.com/txeZ0GYv
Logs: https://pastebin.com/8uSHetrx
This occurred both in an established world with minimal lag and a newly-created world with high lag due to initial chunk loading.