Fix the fluid export bus not actually extracting fluids from storage when exporting.
This commit is contained in:
@@ -126,7 +126,7 @@ public class FluidExportBusPart extends SharedFluidBusPart {
|
|||||||
// we'll deduct 1/1000th from storage.
|
// we'll deduct 1/1000th from storage.
|
||||||
long remainderMillibuckets = remainder.getAmount_F().asInt(1000, RoundingMode.DOWN);
|
long remainderMillibuckets = remainder.getAmount_F().asInt(1000, RoundingMode.DOWN);
|
||||||
|
|
||||||
toExtract.setStackSize(remainderMillibuckets);
|
toExtract.decStackSize(remainderMillibuckets);
|
||||||
inv.extractItems(toExtract, Actionable.MODULATE, this.source);
|
inv.extractItems(toExtract, Actionable.MODULATE, this.source);
|
||||||
|
|
||||||
return TickRateModulation.FASTER;
|
return TickRateModulation.FASTER;
|
||||||
|
|||||||
Reference in New Issue
Block a user