From 99a236ee0f38aabeee1e5fd2fb429892a37efc70 Mon Sep 17 00:00:00 2001 From: John Pasula Date: Mon, 13 Dec 2010 12:17:56 -0700 Subject: [PATCH] Stop displaying unsupported profession with opening up Archaeology. Torhal will add that to Collectinator once he finishes rewriting it. --- core.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core.lua b/core.lua index 92a4eb4..0ba627e 100644 --- a/core.lua +++ b/core.lua @@ -1538,6 +1538,7 @@ end do -- List of tradeskill headers, used in addon:Scan() local header_list = {} + local ARCH = GetSpellInfo(78670) --- Causes a scan of the tradeskill to be conducted. Function called when the scan button is clicked. Parses recipes and displays output -- @name AckisRecipeList:Scan @@ -1551,6 +1552,9 @@ do if current_prof == "UNKNOWN" then self:Print(L["OpenTradeSkillWindow"]) return + -- Bail if we're looking at Archaeology + elseif current_prof == ARCH then + return end -- Set the current profession level, and update the cached data. -- 1.7.9.5