fix cell byte calulation

This commit is contained in:
GlodBlock committed 2022-07-26 22:05:48 +08:00
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;
}