mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-26 06:42:59 +00:00
1 file changed
+6
-2
+6
-2
@@ -448,9 +448,13 @@ public class FCBaseFluidMonitorContain extends AEBaseContainer
|
|||||||
}
|
}
|
||||||
if (slotIndex == -1) out.stackSize = fluidContainer.stackSize - out.stackSize;
|
if (slotIndex == -1) out.stackSize = fluidContainer.stackSize - out.stackSize;
|
||||||
} else {
|
} else {
|
||||||
out.stackSize = (int) (fluidContainer.stackSize - (aeFluidStack.getStackSize() / drainStack.left));
|
if (slotIndex == -1) {
|
||||||
|
out.stackSize = fluidContainer.stackSize;
|
||||||
|
} else {
|
||||||
|
out.stackSize =
|
||||||
|
(int) (fluidContainer.stackSize - (aeFluidStack.getStackSize() / drainStack.left));
|
||||||
|
}
|
||||||
this.dropItem(drainStack.right, fluidContainer.stackSize); // drop empty item
|
this.dropItem(drainStack.right, fluidContainer.stackSize); // drop empty item
|
||||||
if (slotIndex == -1) out.stackSize++;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user