mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 03:43:41 +01:00
tanks for the fill up
This commit is contained in:
parent
b1f8b1293f
commit
2ad8ffe0ed
1 changed files with 1 additions and 0 deletions
|
@ -216,6 +216,7 @@ public class ConnectivityHandler {
|
||||||
if (beTank != null && fluid.isEmpty() && beTank instanceof CreativeFluidTankTileEntity.CreativeSmartFluidTank) {
|
if (beTank != null && fluid.isEmpty() && beTank instanceof CreativeFluidTankTileEntity.CreativeSmartFluidTank) {
|
||||||
((CreativeFluidTankTileEntity.CreativeSmartFluidTank)beTank).setContainedFluid(fluidAt);
|
((CreativeFluidTankTileEntity.CreativeSmartFluidTank)beTank).setContainedFluid(fluidAt);
|
||||||
}
|
}
|
||||||
|
if (be.hasFluid() && beTank != null) beTank.fill(fluidAt, IFluidHandler.FluidAction.EXECUTE);
|
||||||
}
|
}
|
||||||
tankAt.drain(tankAt.getCapacity(), IFluidHandler.FluidAction.EXECUTE);
|
tankAt.drain(tankAt.getCapacity(), IFluidHandler.FluidAction.EXECUTE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue