From c436c6af9d84cad27fd12278086a1a0f6f455ff6 Mon Sep 17 00:00:00 2001 From: pigmonkey Date: Wed, 13 Jul 2011 19:17:22 -0400 Subject: [PATCH] Fixed Blizzard's TradeSkill coloring when you press View Crafters --- modules/miscellaneous.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/miscellaneous.lua b/modules/miscellaneous.lua index 6935807..cef623e 100644 --- a/modules/miscellaneous.lua +++ b/modules/miscellaneous.lua @@ -73,6 +73,15 @@ function mod:OnEnable() -- louder LFD sound self:RegisterEvent("LFG_PROPOSAL_SHOW"); + + -- Fix guild crafters + self:RegisterEvent("ADDON_LOADED", function(_, name) + if name == "Blizzard_TradeSkillUI" then + for i=1, TRADE_SKILL_GUILD_CRAFTERS_DISPLAYED do + _G["TradeSkillGuildCrafter"..i.."Text"].SetTextColor = function() end + end + end + end) end -- Slash Commands --------------------------------------------------------------