Merge branch 'master' of https://bitbucket.org/calclavia/resonant-induction
This commit is contained in:
commit
4054079fb6
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class FluidNetwork extends Network<IFluidNetwork, IFluidPart, IFluidHandl
|
||||||
part.getInternalTank().setFluid(null);
|
part.getInternalTank().setFluid(null);
|
||||||
if (stack != null)
|
if (stack != null)
|
||||||
{
|
{
|
||||||
int fillPer = stack.amount / parts;
|
int fillPer = (stack.amount / parts) + (stack.amount % parts);
|
||||||
stack.amount -= part.getInternalTank().fill(FluidUtility.getStack(stack, fillPer), true);
|
stack.amount -= part.getInternalTank().fill(FluidUtility.getStack(stack, fillPer), true);
|
||||||
part.onFluidChanged();
|
part.onFluidChanged();
|
||||||
if (parts > 1)
|
if (parts > 1)
|
||||||
|
|
Loading…
Reference in a new issue