correct singleByteAmount

This commit is contained in:
lordIcocain committed 2025-05-12 01:23:48 +03:00
1 parent f31956ecc5
commit 1163beabdf
1 file changed
+1 -1
@@ -228,7 +228,7 @@ public class FluidCellInventory implements IFluidCellInventory {
if (restrictionLong > 0) {
remaining = Math.min((restrictionLong / types) - l.getStackSize(), getRemainingFluidCount());
} else {
remaining = (((getTotalBytes() / types) - getBytesPerType()) * 8) - l.getStackSize();
remaining = (((getTotalBytes() / types) - getBytesPerType()) * singleByteAmount) - l.getStackSize();
}
} else {
if (restrictionLong > 0) {