Fix cable tooltip
This commit is contained in:
parent
40663d6a6a
commit
e83455ad2b
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ import mekanism.api.transmitters.ITransmitterNetwork;
|
|||
import mekanism.api.transmitters.TransmissionType;
|
||||
import mekanism.common.Mekanism;
|
||||
import mekanism.common.Tier;
|
||||
import mekanism.common.Tier.CableTier;
|
||||
import mekanism.common.util.MekanismUtils;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
|
@ -88,7 +88,7 @@ public class ItemPartTransmitter extends JItemMultiPart
|
|||
{
|
||||
if(itemstack.getItemDamage() < Tier.CableTier.values().length)
|
||||
{
|
||||
list.add(EnumColor.INDIGO + "Capacity: " + EnumColor.GREY + Tier.CableTier.values()[itemstack.getItemDamage()].cableCapacity + "J/t");
|
||||
list.add(EnumColor.INDIGO + "Capacity: " + EnumColor.GREY + MekanismUtils.getEnergyDisplay(Tier.CableTier.values()[itemstack.getItemDamage()].cableCapacity) + "J/t");
|
||||
}
|
||||
|
||||
list.add("Hold " + EnumColor.AQUA + "shift" + EnumColor.GREY + " for details.");
|
||||
|
|
Loading…
Reference in a new issue