Fixed texture registration issue

This commit is contained in:
aidancbrady 2016-07-13 17:19:23 -04:00
parent 773d53e93a
commit e4eb04ea13

View file

@ -62,10 +62,13 @@ public class ItemTierInstaller extends ItemMekanism
public void registerIcons(IIconRegister register) public void registerIcons(IIconRegister register)
{ {
for(BaseTier tier : BaseTier.values()) for(BaseTier tier : BaseTier.values())
{
if(tier.isObtainable())
{ {
icons[tier.ordinal()] = register.registerIcon("mekanism:" + tier.getName() + "TierInstaller"); icons[tier.ordinal()] = register.registerIcon("mekanism:" + tier.getName() + "TierInstaller");
} }
} }
}
@Override @Override
public IIcon getIconFromDamage(int meta) public IIcon getIconFromDamage(int meta)