From 82b3f0854c8bd7a6e9f96ff2c6614f1376dbb69e Mon Sep 17 00:00:00 2001 From: Ackis Date: Fri, 7 Nov 2008 19:36:04 +0000 Subject: [PATCH] Another small fix --- AckisRecipeList.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 1.7.9.5