Quantcast

Removed code dealing with spell_to_recipe_map from addon:AddRecipe()

James D. Callahan III [03-11-11 - 08:21]
Removed code dealing with spell_to_recipe_map from addon:AddRecipe()
Filename
Recipe.lua
diff --git a/Recipe.lua b/Recipe.lua
index 698d75b..a115461 100644
--- a/Recipe.lua
+++ b/Recipe.lua
@@ -88,12 +88,6 @@ function addon:AddRecipe(spell_id, skill_level, item_id, quality, profession, sp
 	end
 	recipe_list[spell_id] = recipe

-	local created_item = private.spell_to_recipe_map[spell_id]
-
-	if created_item then
-		recipe.creates_item_id = created_item
-	end
-
 	recipe.required_faction = required_faction

 	if required_faction and private.Player.faction ~= BFAC[required_faction] then