Fixes #4697: Show number of required items in condenser tooltips.

This commit is contained in:
Sebastian Hartte
2020-09-17 14:33:43 +02:00
parent e5b45d51cc
commit f368f9dac2
2 changed files with 5 additions and 6 deletions
@@ -81,7 +81,7 @@ public class CondenserContainer extends AEBaseContainer implements IProgressProv
this.requiredEnergy = requiredEnergy == 0 ? (int) maxStorage : (int) Math.min(requiredEnergy, maxStorage);
this.storedPower = (int) this.condenser.getStoredPower();
this.setOutput((CondenserOutput) this.condenser.getConfigManager().getSetting(Settings.CONDENSER_OUTPUT));
this.output = (CondenserOutput) this.condenser.getConfigManager().getSetting(Settings.CONDENSER_OUTPUT);
}
super.detectAndSendChanges();
@@ -101,7 +101,4 @@ public class CondenserContainer extends AEBaseContainer implements IProgressProv
return this.output;
}
private void setOutput(final CondenserOutput output) {
this.output = output;
}
}