Stop displaying unsupported profession with opening up Archaeology. Torhal will add that to Collectinator once he finishes rewriting it.
John Pasula [12-13-10 - 19:17]
Stop displaying unsupported profession with opening up Archaeology. Torhal will add that to Collectinator once he finishes rewriting it.
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.