Logistics Pipes

Logistics Pipes

13M Downloads

ic2 and logistics provider crash

freakyd opened this issue ยท 4 comments

commented

If you put a fluid provider on an ic2 machine that has fluid it crashes.
if(((IFluidHandler)pair.getValue1()).canDrain(pair.getValue2().getOpposite(), liquid.getFluid())) { on line 265 in PipeFluidProvider.java

commented

java.lang.NullPointerException: Ticking block entity
at ic2.core.block.machine.tileentity.TileEntityCondenser.canDrain(TileEntityCondenser.java:237)
at logisticspipes.pipes.PipeFluidProvider.getSpecificInterests(PipeFluidProvider.java:265)
at logisticspipes.routing.ServerRouter.updateInterests(ServerRouter.java:996)
at logisticspipes.routing.ServerRouter.update(ServerRouter.java:871)

commented

This is definitly an IC2 bug. Did you report it to them?

commented

I've reported it now, we'll see what happens.

commented

This bug has been fixed over on the ic2 side. Now instead of null it returns false if there is a null detected. version ic2-exp 648