mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Global convert indentation to tabs
This commit is contained in:
@@ -185,11 +185,11 @@ function AFK:OnEvent(event, ...)
|
||||
|
||||
if not E.db.general.afk then return end
|
||||
if UnitAffectingCombat("player") or CinematicFrame:IsShown() then return end
|
||||
-- if UnitCastingInfo("player") ~= nil then
|
||||
-- --Don't activate afk if player is crafting stuff, check back in 30 seconds
|
||||
-- self:ScheduleTimer("OnEvent", 30)
|
||||
-- return
|
||||
-- end
|
||||
-- if UnitCastingInfo("player") ~= nil then
|
||||
-- --Don't activate afk if player is crafting stuff, check back in 30 seconds
|
||||
-- self:ScheduleTimer("OnEvent", 30)
|
||||
-- return
|
||||
-- end
|
||||
|
||||
if arg1 == format(MARKED_AFK_MESSAGE, DEFAULT_AFK_MESSAGE) then
|
||||
self:SetAFK(true)
|
||||
|
||||
Reference in New Issue
Block a user