mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-27 23:32:57 +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
|
@Override
|
||||||
public long getRemainingFluidCount() {
|
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;
|
return remaining > 0 ? remaining : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user