mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 15:57:55 +00:00
add blue light for drive and ME chest (#228)
This commit is contained in:
1 parent
41963430dd
commit
9448540466
2 files changed
+8
-5
No files matched your search
@@ -188,13 +188,16 @@ public class FluidCellInventory implements IFluidCellInventory {
|
||||
|
||||
@Override
|
||||
public int getStatusForCell() {
|
||||
if (this.canHoldNewFluid()) {
|
||||
if (this.getUsedBytes() == 0) {
|
||||
return 1;
|
||||
}
|
||||
if (this.getRemainingFluidCount() > 0) {
|
||||
if (this.canHoldNewFluid()) {
|
||||
return 2;
|
||||
}
|
||||
return 3;
|
||||
if (this.getRemainingFluidCount() > 0) {
|
||||
return 3;
|
||||
}
|
||||
return 4;
|
||||
}
|
||||
|
||||
protected void loadCellFluids() {
|
||||
|
||||
@@ -92,8 +92,8 @@ public class FluidCellInventoryHandler extends MEInventoryHandler<IAEFluidStack>
|
||||
public int getStatusForCell() {
|
||||
int val = this.getCellInv().getStatusForCell();
|
||||
|
||||
if (val == 1 && this.isPreformatted()) {
|
||||
val = 2;
|
||||
if ((val == 1 || val == 2) && this.isPreformatted()) {
|
||||
val = 3;
|
||||
}
|
||||
|
||||
return val;
|
||||
|
||||
Reference in new issue
Block a user