diff --git a/.luacheckrc b/.luacheckrc index 661771c..1f30fd2 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -78,7 +78,6 @@ read_globals = { "GetSpellInfo", "HasExtraActionBar", "InCombatLockdown", - "IsAddOnLoaded", "IsKeyRingEnabled", "IsModifiedClick", "IsPetAttackAction", diff --git a/HideBlizzardClassic.lua b/HideBlizzardClassic.lua index b5e9f0c..65d6042 100644 --- a/HideBlizzardClassic.lua +++ b/HideBlizzardClassic.lua @@ -137,7 +137,7 @@ function Bartender4:HideBlizzard() hideActionBarFrame(ReputationWatchBar, false, false, true) hideActionBarFrame(MainMenuBarMaxLevelBar, false, false, true) - if IsAddOnLoaded("Blizzard_NewPlayerExperience") then + if C_AddOns.IsAddOnLoaded("Blizzard_NewPlayerExperience") then self:NPE_LoadUI() elseif NPE_LoadUI ~= nil then self:SecureHook("NPE_LoadUI")