Fixed missing icon for Darkmatter cell.
This commit is contained in:
parent
6a1f7fa9fe
commit
abb0a4357d
1 changed files with 13 additions and 0 deletions
|
@ -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.", ""));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue