Merge pull request #1334 from ngreatorex/ncg
Change Digital Miner GUI to show actual energy usage per tick
This commit is contained in:
commit
5a830699e7
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ public class GuiDigitalMiner extends GuiMekanism
|
|||
@Override
|
||||
public List<String> getInfo()
|
||||
{
|
||||
String multiplier = MekanismUtils.getEnergyDisplay(MekanismUtils.getEnergyPerTick(tileEntity.getSpeedMultiplier(), tileEntity.getEnergyMultiplier(), tileEntity.ENERGY_USAGE));
|
||||
String multiplier = MekanismUtils.getEnergyDisplay(tileEntity.getPerTick());
|
||||
return ListUtils.asList("Using: " + multiplier + "/t", "Needed: " + MekanismUtils.getEnergyDisplay(tileEntity.getMaxEnergy()-tileEntity.getEnergy()));
|
||||
}
|
||||
}, this, tileEntity, MekanismUtils.getResource(ResourceType.GUI, "GuiDigitalMiner.png")));
|
||||
|
|
Loading…
Reference in a new issue