Fix the fluid export bus not actually extracting fluids from storage when exporting.

This commit is contained in:
Sebastian Hartte
2020-08-27 00:21:14 +02:00
parent 5cab9c8799
commit 226e9596ee
@@ -126,7 +126,7 @@ public class FluidExportBusPart extends SharedFluidBusPart {
// we'll deduct 1/1000th from storage.
long remainderMillibuckets = remainder.getAmount_F().asInt(1000, RoundingMode.DOWN);
toExtract.setStackSize(remainderMillibuckets);
toExtract.decStackSize(remainderMillibuckets);
inv.extractItems(toExtract, Actionable.MODULATE, this.source);
return TickRateModulation.FASTER;