Quantcast

Another small fix

Ackis [11-07-08 - 19:36]
Another small fix
Filename
AckisRecipeList.lua
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index b218670..95d4f6e 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -744,8 +744,10 @@ function addon:ScanForKnownRecipes(RecipeDB, playerData)
 			-- Get the trade skill link for the specified recipe
 			local SpellLink = GetTradeSkillRecipeLink(i)

+			local SpellString = GetIDFromLink(SpellLink)
+
 			-- Get the SpellID from the spell link or enchant link (to account for Skillet)
-			local SpellID = tonumber(GetIDFromLink(SpellLink))
+			local SpellID = tonumber(SpellString)

 			-- Spell ID is in RecipeDB so lets flag it as known
 			if (RecipeDB[SpellID]) then