Advanced Generators

Advanced Generators

40M Downloads

When I mistakenly tried to drain a Fluid Intake Valve with a Fluid pipe, the server crashed

lolosiax opened this issue ยท 2 comments

commented

When I mistakenly tried to drain a Fluid Intake Valve with a Fluid pipe, the server crashed.

This is the Issues when I reported to the author of the Pipez Mod...
henkelmax/pipez#103

He was said : Fluids should never be null. No fluid means Fluids.EMPTY
the block is advgenerators:fluid_input

java.lang.NullPointerException: Cannot invoke "net.minecraftforge.fluids.FluidStack.getFluid()" because "fluidInTank" is null
at de.maxhenkel.pipez.blocks.tileentity.types.FluidPipeType.insertEqually(FluidPipeType.java:101)
... many more

commented

That's odd... I'll try to reproduce it and figure out where that null comes from. It should be using EMPTY everywhere.