shadowsight fix enabled/disabled
This commit is contained in:
parent
2d58d3fb77
commit
19eba81faa
@ -148,6 +148,7 @@ end
|
|||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
function ShadowsightTimer:JOINED_ARENA()
|
function ShadowsightTimer:JOINED_ARENA()
|
||||||
|
if Gladdy.db.shadowsightTimerEnabled then
|
||||||
self:RegisterEvent("CHAT_MSG_BG_SYSTEM_NEUTRAL")
|
self:RegisterEvent("CHAT_MSG_BG_SYSTEM_NEUTRAL")
|
||||||
self:SetScript("OnEvent", ShadowsightTimer.OnEvent)
|
self:SetScript("OnEvent", ShadowsightTimer.OnEvent)
|
||||||
for i=1,2 do
|
for i=1,2 do
|
||||||
@ -156,6 +157,7 @@ function ShadowsightTimer:JOINED_ARENA()
|
|||||||
end
|
end
|
||||||
self.anchor:Show()
|
self.anchor:Show()
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function ShadowsightTimer:AURA_GAIN(unit, auraType, spellID)
|
function ShadowsightTimer:AURA_GAIN(unit, auraType, spellID)
|
||||||
if (spellID == 34709 and Gladdy.db.shadowsightTimerEnabled) then
|
if (spellID == 34709 and Gladdy.db.shadowsightTimerEnabled) then
|
||||||
|
Loading…
Reference in New Issue
Block a user