mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-17 10:55:06 +00:00
fix
This commit is contained in:
1 parent
a7f00c1830
commit
f78951bfea
1 file changed
+4
-2
@@ -397,8 +397,10 @@ public class FluidCellInventory implements IFluidCellInventory {
|
||||
if (cardDistribution) {
|
||||
remainingFluidCount = this.getRemainingFluidCountDist(null);
|
||||
} else {
|
||||
remainingFluidCount = this.getRemainingFluidCount()
|
||||
- ((long) this.getBytesPerType() * singleByteAmount);
|
||||
remainingFluidCount = Math.min(
|
||||
getRemainingFluidCount(),
|
||||
getFreeBytes() * singleByteAmount + getUnusedFluidCount()
|
||||
- (long) getBytesPerType() * singleByteAmount);
|
||||
}
|
||||
|
||||
if (remainingFluidCount > 0) {
|
||||
|
||||
Reference in new issue
Block a user