This commit is contained in:
lordIcocain committed 2025-05-12 00:54:55 +03:00
1 parent 0c0a6655a5
commit f31956ecc5
1 file changed
+1 -3
@@ -228,9 +228,7 @@ public class FluidCellInventory implements IFluidCellInventory {
if (restrictionLong > 0) {
remaining = Math.min((restrictionLong / types) - l.getStackSize(), getRemainingFluidCount());
} else {
remaining = (((this.getTotalBytes() / types)
- (int) Math.ceil((double) l.getStackSize() / singleByteAmount)
- getBytesPerType()) * singleByteAmount);
remaining = (((getTotalBytes() / types) - getBytesPerType()) * 8) - l.getStackSize();
}
} else {
if (restrictionLong > 0) {