From 6417213b4871e43f6d8ee94e30e657fee8549d8e Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 1 Aug 2016 13:08:49 +0300 Subject: [PATCH] nothing --- ElvUI_SLE/core/core.lua | 1 + ElvUI_SLE/modules/actionbars.lua | 2 +- ElvUI_SLE/modules/elvConfig.lua | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/core/core.lua b/ElvUI_SLE/core/core.lua index f3b7124..28de8f2 100644 --- a/ElvUI_SLE/core/core.lua +++ b/ElvUI_SLE/core/core.lua @@ -102,6 +102,7 @@ local _CompList = { "QuestKing", "ElvUI_Enhanced", "DejaCharacterStats", + "ElvUI_ExtraActionBars", } for i = 1, #_CompList do if GetAddOnEnableState(E.myname, _CompList[i]) == 0 then SLE._Compatibility[_CompList[i]] = nil else SLE._Compatibility[_CompList[i]] = true end diff --git a/ElvUI_SLE/modules/actionbars.lua b/ElvUI_SLE/modules/actionbars.lua index e6ea652..1615fb1 100644 --- a/ElvUI_SLE/modules/actionbars.lua +++ b/ElvUI_SLE/modules/actionbars.lua @@ -55,7 +55,7 @@ end function A:Initialize() if not SLE.initialized or E.private.actionbar.enable ~= true then return; end - A.MaxBars = T.IsAddOnLoaded('ElvUI_ExtraActionBars') and 10 or 6 + A.MaxBars = SLE._Compatibility["ElvUI_ExtraActionBars"] and 10 or 6 if E.private.sle.actionbars.oorBind then hooksecurefunc(AB, "UpdateButtonConfig", function(self, bar, buttonName) diff --git a/ElvUI_SLE/modules/elvConfig.lua b/ElvUI_SLE/modules/elvConfig.lua index 7e171af..a976b56 100644 --- a/ElvUI_SLE/modules/elvConfig.lua +++ b/ElvUI_SLE/modules/elvConfig.lua @@ -9,7 +9,7 @@ function EC:ADDON_LOADED(event, addon) end function EC:UpdateActionbars() - local extra = T.IsAddOnLoaded('ElvUI_ExtraActionBars') + local extra = SLE._Compatibility["ElvUI_ExtraActionBars"] if extra then if not E.Options.args.blazeplugins then E:Delay(0.1, EC.UpdateActionbars) -- 1.7.9.5