Skip to content

Commit

Permalink
Fix creative tanks only outputting up to 1kL at a time (#2685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorbatron authored Jan 19, 2025
1 parent d0184c8 commit c35fcb2
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,7 @@ public void update() {
if (fluidHandler == null || fluidHandler.getTankProperties().length == 0)
return;

FluidStack stack = fluidTank.getFluid().copy();
int canInsertAmount = fluidHandler.fill(stack, false);
stack.amount = Math.min(mBPerCycle, canInsertAmount);

fluidHandler.fill(stack, true);
fluidHandler.fill(fluidTank.drain(mBPerCycle, false), true);
}
}

Expand Down

0 comments on commit c35fcb2

Please sign in to comment.