Skip to content

Commit

Permalink
Improve ElvUI global access
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed Oct 14, 2020
1 parent 4b989d0 commit e89de7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Config/Bindings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,9 @@ local function HijackSpellBookButtons(base)

-- Respect ElvUI skinning
if GetAddOnEnableState(UnitName("player"), "ElvUI") == 2 then
local E = ElvUI[1]
local E = unpack(ElvUI)

if E and E.private and E.private.skins and E.private.skins.blizzard and E.private.skins.blizzard.enable and E.private.skins.blizzard.spellbook then
if E and E.private.skins and E.private.skins.blizzard and E.private.skins.blizzard.enable and E.private.skins.blizzard.spellbook then
button:StripTextures()

if E.private.skins.parchmentRemoverEnable then
Expand Down

0 comments on commit e89de7d

Please sign in to comment.