package com.mcmoddev.nethermetals.init;

import com.mcmoddev.basemetals.data.MaterialNames;
import com.mcmoddev.lib.data.Names;
import com.mcmoddev.lib.init.MMDCreativeTab;
import com.mcmoddev.modernmetals.init.Materials;

import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

/**
 * This class initializes all item groups in Nether Metals.
 *
 * @author Jasmine Iwanek
 *
 */
public class ItemGroups extends com.mcmoddev.lib.init.ItemGroups {
	private static final int blocksTabId  = addTab("blocks", true );;
	public static final MMDCreativeTab blocksTab = getTab(blocksTabId);

	private static boolean initDone = false;

	private ItemGroups() {
		throw new IllegalAccessError("Not a instantiable class");
	}

	/**
	 *
	 */
	public static void init() {
		if (initDone) {
			return;
		}

		initDone = true;
	}
	
	public static void setupIcons() {
		Item blocksTabIconItem = Item.getItemFromBlock(Materials.getMaterialByName(MaterialNames.LAPIS).getBlock(Names.NETHERORE));

		blocksTab.setTabIconItem(new ItemStack(blocksTabIconItem));
	}
}

@@ -190,20 +190,11 @@
 dev.
-modernmetals
+lib
 .ini

fix crash without MMe