Skip to content

Commit

Permalink
fix helper api for addon state
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Apr 29, 2024
1 parent 26acdd6 commit 30d8620
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ElvUI/Core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,11 @@ end

function E:GetAddOnEnableState(addon, character)
if C_AddOns_GetAddOnEnableState then
return C_AddOns_GetAddOnEnableState(addon, character)
if E.Cata then -- backwards?
return C_AddOns_GetAddOnEnableState(character, addon)
else
return C_AddOns_GetAddOnEnableState(addon, character)
end
else
return GetAddOnEnableState(character, addon)
end
Expand Down

0 comments on commit 30d8620

Please sign in to comment.