Fixed texture registration issue
This commit is contained in:
parent
773d53e93a
commit
e4eb04ea13
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue