Mercurial > wow > reagentmaker
diff ReagentMaker.lua @ 113:c79ab5443ee5 v1.1beta1
Corrected the lua error when entering combat
author | contrebasse |
---|---|
date | Fri, 03 Jun 2011 12:24:04 +0200 |
parents | af23986010ef |
children | 5a3fb8fea026 |
line wrap: on
line diff
--- a/ReagentMaker.lua Thu Jun 02 23:07:49 2011 +0200 +++ b/ReagentMaker.lua Fri Jun 03 12:24:04 2011 +0200 @@ -79,8 +79,6 @@ --@todo Unregister events when not needed A.EventsFrame:RegisterEvent("TRADE_SKILL_SHOW") A.EventsFrame:RegisterEvent("TRADE_SKILL_UPDATE") -A.EventsFrame:RegisterEvent("PLAYER_REGEN_ENABLED") -A.EventsFrame:RegisterEvent("PLAYER_REGEN_DISABLED") --------------------------------------------------- @@ -118,6 +116,10 @@ A.tooltipRecipe:SetFrameStrata("TOOLTIP") A.tooltipRecipe:Hide() + -- Used for the campfire button only + A.EventsFrame:RegisterEvent("PLAYER_REGEN_ENABLED") + A.EventsFrame:RegisterEvent("PLAYER_REGEN_DISABLED") + -- Button for enchanting directy on a scroll A.LoadEnchantOnScroll() end -- function