Terraria.ModLoader.RecipeEditor.RejectRecipeGroup C# (CSharp) Method

RejectRecipeGroup() public method

public RejectRecipeGroup ( string groupName ) : bool
groupName string
return bool
		public bool RejectRecipeGroup(string groupName)
		{
			int groupID;
			if (!RecipeGroup.recipeGroupIDs.TryGetValue(groupName, out groupID))
			{
				throw new RecipeException("No recipe group is named " + groupName);
			}
			return recipe.acceptedGroups.Remove(groupID);
		}