Generators are broken.
modmuss50 opened this issue ยท 2 comments
Inside a GasTurbine when a unvalid fluid (like water) is inserted it try to check in this map https://github.com/TechReborn/TechReborn/blob/1.11/src/main/java/techreborn/tiles/generator/TileGasTurbine.java#L42 to get the fuel value, however if the fluid isn't present it will return a null Integer object, inducing a NullPointer when evaluating the amount to consume per tick : https://github.com/TechReborn/TechReborn/blob/1.11/src/main/java/techreborn/tiles/generator/TileGasTurbine.java#L121
I think that this issue could be fixed by creation of a unified recipe system for the generators, allowing them to check it before accepting any fluid.
Fixed in 97192ee