mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
fix cell byte calulation
This commit is contained in:
1 parent
56d81eef56
commit
ea9ba2c4cc
1 file changed
+1
-2
@@ -180,8 +180,7 @@ public class FluidCellInventory implements IFluidCellInventory {
|
||||
|
||||
@Override
|
||||
public long getRemainingFluidCount() {
|
||||
final long remaining = this.getFreeBytes() * 8 + this.getUnusedFluidCount();
|
||||
|
||||
final long remaining = this.getFreeBytes() * 8 * 256 + this.getUnusedFluidCount();
|
||||
return remaining > 0 ? remaining : 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user