Add max energy to tooltips

This commit is contained in:
Tom Elfring committed 2017-07-17 20:27:05 +02:00
1 parent b3f1a9fee4
commit f6c126af44
30 files changed
+45 -32

No files matched your search

@@ -244,7 +244,7 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, ISpec
if(type.isElectric)
{
list.add(EnumColor.BRIGHT_GREEN + LangUtils.localize("tooltip.storedEnergy") + ": " + EnumColor.GREY + MekanismUtils.getEnergyDisplay(getEnergy(itemstack)));
list.add(EnumColor.BRIGHT_GREEN + LangUtils.localize("tooltip.storedEnergy") + ": " + EnumColor.GREY + MekanismUtils.getEnergyDisplay(getEnergy(itemstack), getMaxEnergy(itemstack)));
}
if(hasTank(itemstack) && type != MachineType.FLUID_TANK)