diff ReagentMaker.lua @ 31:22fa64c9b2de

Store spellLink instead of spellID
author contrebasse
date Thu, 28 Apr 2011 21:43:06 +0200
parents fd76c8951b7d
children 218e1dd1b821
line wrap: on
line diff
--- a/ReagentMaker.lua	Thu Apr 28 20:31:25 2011 +0200
+++ b/ReagentMaker.lua	Thu Apr 28 21:43:06 2011 +0200
@@ -206,17 +206,9 @@
 	local link
 	if A.data[reagentID].spellLink then
 		link = A.data[reagentID].spellLink
-	elseif A.data[reagentID].spellID then
-		link = GetSpellLink(A.data[reagentID].spellID)
 	else
 		A.DEBUG("Recipe link not found for "..reagentID)
 		return
-		--[[
-		local reagentIndex = A.findSkillIndex(reagentID)
-		if reagentIndex then
-			link = GetTradeSkillRecipeLink(A.findSkillIndex(reagentID))
-		end
-		--]]
 	end
 
 	if link then