From 95732f139244cabafd7071c162250b0f7931e32c Mon Sep 17 00:00:00 2001 From: ackis Date: Mon, 8 Jun 2009 21:47:55 +0000 Subject: [PATCH] Change the order of how we auto scan trainers so that the missing acquire has priority on the text window. There you go Torhal. --- ARLDatamine.lua | 2 ++ AckisRecipeList.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ARLDatamine.lua b/ARLDatamine.lua index 9c31de2..217d004 100644 --- a/ARLDatamine.lua +++ b/ARLDatamine.lua @@ -1566,6 +1566,7 @@ do -- @param autoscan True when autoscan is enabled in preferences, it will surpress output letting you know when a scan has occured. -- @return Does a comparison of the information in your internal ARL database, and those items which are available on the trainer. Compares the skill levels between the two. function addon:ScanSkillLevelData(autoscan) + if (IsTradeskillTrainer()) then -- Are we at a trade skill trainer? local recipelist = LoadRecipe() -- Get internal database @@ -2009,6 +2010,7 @@ function addon:TooltipScanRecipe(spellid) -- If a link exists, we'll scan it. if (link) then + -- Load the tooltip ARLDatamineTT:SetHyperlink(link) diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua index 7351199..3312f85 100644 --- a/AckisRecipeList.lua +++ b/AckisRecipeList.lua @@ -363,8 +363,8 @@ end function addon:TRAINER_SHOW() - self:ScanTrainerData(true) self:ScanSkillLevelData(true) + self:ScanTrainerData(true) end -- 1.7.9.5