Skip to content

Commit

Permalink
Fix BC break in wow api
Browse files Browse the repository at this point in the history
  • Loading branch information
linaori authored Aug 13, 2024
1 parent 53ebc97 commit 5f81605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WOWUP_DATA = WOWUP_DATA or {}

local function frame_OnEvent(self, event, ...)
-- check if data addon is loaded
if not IsAddOnLoaded("wowup_data_addon") then
if not C_AddOns.IsAddOnLoaded("wowup_data_addon") then
DEFAULT_CHAT_FRAME:AddMessage(WOWUP.CreateRGBToHexHeader(232/255,205/255,134/255) .. ": " .. L["Data addon is missing"])
return
end
Expand Down

0 comments on commit 5f81605

Please sign in to comment.