You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
The Blizzard Lua API IsAddOnLoaded is depreciated and going away when The War Within launches. You use the API in the files located in the style folder.
Assuming you want backwards compatibility with Classic (Wrath) and Classic Era (Seasons, hardcore, and Classic Era), you need to add this line after creating the ns variable:
local ns = (select(2, ...))
local IsAddOnLoaded = C_AddOns and C_AddOns.IsAddOnLoaded or IsAddOnLoaded
-- the rest of the file here
The Blizzard Lua API IsAddOnLoaded is depreciated and going away when The War Within launches. You use the API in the files located in the style folder.
Assuming you want backwards compatibility with Classic (Wrath) and Classic Era (Seasons, hardcore, and Classic Era), you need to add this line after creating the ns variable:
See this URL for the API changes.
The text was updated successfully, but these errors were encountered: