mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Apparently the script tag only accepts top level files in vanilla
This commit is contained in:
+2
-2
@@ -370,7 +370,7 @@ end
|
||||
|
||||
local function Enable(self)
|
||||
if self.AuraBars then
|
||||
self:RegisterEvent("UNIT_AURA", Update)
|
||||
self:RegisterEvent("PLAYER_AURAS_CHANGED", Update)
|
||||
self.AuraBars:Height(1)
|
||||
self.AuraBars.bars = self.AuraBars.bars or {}
|
||||
self.AuraBars.SetAnchors = SetAnchors
|
||||
@@ -383,7 +383,7 @@ end
|
||||
local function Disable(self)
|
||||
local auraFrame = self.AuraBars
|
||||
if auraFrame then
|
||||
self:UnregisterEvent("UNIT_AURA", Update)
|
||||
self:UnregisterEvent("PLAYER_AURAS_CHANGED", Update)
|
||||
auraFrame:SetScript("OnUpdate", nil)
|
||||
end
|
||||
end
|
||||
@@ -1,3 +1,3 @@
|
||||
<Ui xmlns="http://www.blizzard.com/wow/ui/">
|
||||
<Script file="oUF_AuraBars\oUF_AuraBars.lua"/>
|
||||
<Script file="oUF_AuraBars.lua"/>
|
||||
</Ui>
|
||||
Reference in New Issue
Block a user