From 2c6ba8e646b23f2469f388c544cc7c3eb71be11e Mon Sep 17 00:00:00 2001 From: ggargani Date: Mon, 3 Oct 2016 02:21:55 +0200 Subject: [PATCH] Fix in appraiser --- MissionCache.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MissionCache.lua b/MissionCache.lua index 74c4053..4aaaace 100644 --- a/MissionCache.lua +++ b/MissionCache.lua @@ -57,18 +57,23 @@ function module:OnInitialized() local appraisers={} local trash={} if _G.AucAdvanced then + addon.AuctionPrices=true appraisers.AUC=_G.AucAdvanced.API.GetMarketValue end if _G.Atr_GetAuctionBuyout then + addon.AuctionPrices=true appraisers.ATR=Atr_GetAuctionBuyout end if _G.TSMAPI then + addon.AuctionPrices=true appraisers.TSM=function(itemlink) return TSMAPI:GetItemValue(itemlink,"DBMarket") end end if _G.TUJMarketInfo then + addon.AuctionPrices=true appraisers.TUY=function(itemlink) TUJMarketInfo(itemlink,trash) return trash['market'] end end if _G.GetAuctionBuyout then + addon.AuctionPrices=true appraisers.AH=GetAuctionBuyout end local function GetMarketValue(self,itemId) @@ -77,7 +82,6 @@ function module:OnInitialized() if itemlink then if not I:IsBop(itemlink) then for i,k in pairs(appraisers) do - addon.AuctionPrices=true rc,price=pcall(k,itemId) if rc and price and price >0 then source=i -- 1.7.9.5