tanks for the fill up

This commit is contained in:
Talrey 2022-05-13 14:36:26 -07:00
parent b1f8b1293f
commit 2ad8ffe0ed

View file

@ -216,6 +216,7 @@ public class ConnectivityHandler {
if (beTank != null && fluid.isEmpty() && beTank instanceof CreativeFluidTankTileEntity.CreativeSmartFluidTank) {
((CreativeFluidTankTileEntity.CreativeSmartFluidTank)beTank).setContainedFluid(fluidAt);
}
if (be.hasFluid() && beTank != null) beTank.fill(fluidAt, IFluidHandler.FluidAction.EXECUTE);
}
tankAt.drain(tankAt.getCapacity(), IFluidHandler.FluidAction.EXECUTE);
}