I have no idea why this was ever used in the first place

This commit is contained in:
Leon 2016-12-14 13:07:33 -05:00
parent 7247fc7acb
commit 2581f87f25
2 changed files with 1 additions and 2 deletions

View file

@ -16,7 +16,6 @@ public class IC2ElectricAdapter extends ElectricAdapter {
this.item = (IElectricItem)stack.getItem();
}
@Override
public double getCurrentEnergy() {
return ElectricConversions.museEnergyFromEU(ElectricItem.manager.getCharge(stack));

View file

@ -218,7 +218,7 @@ public class ClientTickHandler {
double maxWater = AddonWaterUtils.getMaxWater(player);
double currEnergy = ElectricItemUtils.getPlayerEnergy(player);
double maxEnergy = ElectricItemUtils.getMaxEnergy(player);
if (maxEnergy > 0 && BlockTinkerTable.energyIcon != null) {
if (maxEnergy > 0) {
String currEnergyStr = MuseStringUtils.formatNumberShort(currEnergy);
String maxEnergyStr = MuseStringUtils.formatNumberShort(maxEnergy);