Fixed missing icon for Darkmatter cell.

This commit is contained in:
Maxwolf Goodliffe 2014-06-15 15:44:15 -07:00
parent 6a1f7fa9fe
commit abb0a4357d
1 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,10 @@
package resonantinduction.atomic.items;
import resonantinduction.core.ResonantInduction;
import net.minecraft.client.renderer.texture.IconRegister;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
/** Strange matter cell */
public class ItemDarkMatter extends ItemCell
@ -8,4 +13,12 @@ public class ItemDarkMatter extends ItemCell
{
super(itemID);
}
@SideOnly(Side.CLIENT)
@Override
public void registerIcons(IconRegister iconRegister)
{
// Animated Icon
this.itemIcon = iconRegister.registerIcon(this.getUnlocalizedName().replace("item.", ""));
}
}