AddOnSkins

10M Downloads

Auctionator skin is not working

flow0284 opened this issue ยท 1 comments

commented

I'm using Auctionator 9.1.12 and AddonSkins 4.58

4x ...rfaceAddOnSkins\SkinsAuctionator-9.1.12.lua:75: attempt to index local 'list' (a nil value) [string "@AddOnSkins\SkinsAuctionator-9.1.12.lua"]:75: in function <...rfaceAddOnSkins\SkinsAuctionator.lua:70> [string "@AddOnSkins\SkinsAuctionator-9.1.12.lua"]:476: in function <...rfaceAddOnSkins\SkinsAuctionator.lua:470> [string "@AddOnSkins\Core\Core.lua"]:215: in function <AddOnSkins\Core\Core.lua:215> [string "=[C]"]: in function xpcall'
[string "@AddOnSkins\Core\Core.lua"]:215: in function CallSkin' [string "@AddOnSkins\Core\Core.lua"]:165: in function ?'
[string "@LibSharedMedia-3.0-8020003\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@LibSharedMedia-3.0-8020003\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...edia-3.0\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@LibSharedMedia-3.0-8020003\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function Fire' [string "@TomTom\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <...aceTomTom\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

commented

I tried a bit by myself and fixed the error with this change in Auctionator.lua

function AS:Auctionator(event)
	if event == 'PLAYER_ENTERING_WORLD' then
		SkinOptions()
	end

	if event == 'AUCTION_HOUSE_SHOW' then
	    C_Timer.After(0, function()
			SkinMainFrames()
			SkinImportExport()
			SkinItemFrame(_G.AuctionatorShoppingItemFrame)
			--SkinItemFrame(_G.AuctionatorAddItemFrame)
			--SkinItemFrame(_G.AuctionatorEditItemFrame)
		end)

		AS:UnregisterSkinEvent('Auctionator', event)
	end
end