internal static void AddRecipeGroups()
{
foreach (Mod mod in ModLoader.mods.Values)
{
try
{
mod.AddRecipeGroups();
}
catch (Exception e)
{
ModLoader.DisableMod(mod.File);
throw new AddRecipesException(mod, "An error occured in adding recipe groups for " + mod.Name, e);
}
}
}
}