From 2324c8e281b414856dbda767a93792c6512c7674 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Tue, 23 Jul 2024 08:17:26 +0200 Subject: [PATCH] AddOns API updates --- .luacheckrc | 1 - HideBlizzardClassic.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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")