Change Digital Miner GUI to show actual energy usage per tick
This commit is contained in:
parent
0606d6d29f
commit
db20084f41
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