Quantcast

Fix Skillet issues (add return stuff, thanks smrt ppl) and align the frames

ackis [10-24-08 - 16:28]
Fix Skillet issues (add return stuff, thanks smrt ppl) and align the frames
Filename
ARLFrame.lua
AckisRecipeList.lua
AckisRecipeList.toc
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 36cceeb..ae090e0 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -3008,6 +3008,10 @@ function addon:CreateFrame(

 			addon.Frame:SetPoint("CENTER", ATSWFrame, "CENTER", 490, 0)

+		elseif (Skillet) then
+
+			addon.Frame:SetPoint("CENTER", SkilletFrame, "CENTER", 468, 0)
+
 		else

 			addon.Frame:SetPoint("CENTER", UIParent, "CENTER", 0, 0)
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index 70f4ad7..f352c3c 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -280,14 +280,15 @@ function addon:OnEnable()
 	end

 	-- If we're using Skillet, use Skillet's API to work with getting tradeskills
-	if (Skillet) and (Skillet.GetNumTradeSkills) and
-	(Skillet.GetTradeSkillLine) and (Skillet.GetTradeSkillInfo) then
+	if (Skillet) and (Skillet.GetNumTradeSkills) and
+	(Skillet.GetTradeSkillLine) and (Skillet.GetTradeSkillInfo) and
+	(Skillet.GetTradeSkillRecipeLink) then

 		self:Print("Enabling Skillet advanced features.")
-		GetNumTradeSkills = function(...) Skillet:GetNumTradeSkills(...) end
-		GetTradeSkillLine = function(...) Skillet:GetTradeSkillLine(...) end
-		GetTradeSkillInfo = function(...) Skillet:GetTradeSkillInfo(...) end
-		GetTradeSkillRecipeLink = function(...) Skillet:GetTradeSkillRecipeLink(...) end
+		GetNumTradeSkills = function(...) return Skillet:GetNumTradeSkills(...) end
+		GetTradeSkillLine = function(...) return Skillet:GetTradeSkillLine(...) end
+		GetTradeSkillInfo = function(...) return Skillet:GetTradeSkillInfo(...) end
+		GetTradeSkillRecipeLink = function(...) return Skillet:GetTradeSkillRecipeLink(...) end

 	end

diff --git a/AckisRecipeList.toc b/AckisRecipeList.toc
index 7b3d58f..2d10182 100644
--- a/AckisRecipeList.toc
+++ b/AckisRecipeList.toc
@@ -18,7 +18,7 @@
 ## X-Donate: Donate a few bucks/hours at your local animal shelter, or send me UDE Point codes, a Murky Code, or an account upgrade certificate.

 ## Interface: 30000
-## Version: Beta 6 r954
+## Version: Beta 6 r958
 ## X-Revision: $Rev$
 ## X-Date: $Date$