mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 01:54:59 +00:00
correct singleByteAmount
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user