This commit is contained in:
Modmuss50 2015-11-18 18:35:03 +00:00
parent 3f41e26ece
commit a47b1b1f27

View file

@ -269,10 +269,6 @@ public abstract class TilePowerAcceptor extends RFProviderTile implements
tag.setTag("TilePowerAcceptor", data);
}
public int getEnergyScaled(int scale) {
return (int) ((energy * scale / getMaxOutput() * ConfigTechReborn.euPerRF));
}
@Override
public void addInfo(List<String> info, boolean isRealTile) {
info.add(ChatFormatting.LIGHT_PURPLE + "Energy buffer Size " + ChatFormatting.GREEN + getEUString(getMaxPower()));
@ -312,4 +308,8 @@ public abstract class TilePowerAcceptor extends RFProviderTile implements
}
public int getEnergyScaled(int scale) {
return (int) ((energy * scale / getMaxPower()));
}
}