Commit e1557603 authored by Simpy's avatar Simpy 🐹

11.291

parents 68411ca9 f92b29a6
## Interface: 80300
## Author: Elv
## Version: 11.28
## Version: 11.291
## Title: |cfffe7b2cElvUI|r
## Notes: User Interface replacement AddOn for World of Warcraft.
## SavedVariables: ElvDB, ElvPrivateDB
......
......@@ -102,7 +102,7 @@ local ALTERNATE_POWER_INDEX = Enum.PowerType.Alternate or 10
local function getDisplayPower(unit)
local barInfo = GetUnitPowerBarInfo(unit)
if(barInfo.showOnRaid) then
if(barInfo and barInfo.showOnRaid) then
return ALTERNATE_POWER_INDEX, barInfo.minPower
end
end
......
......@@ -104,12 +104,12 @@ end
function UF:EnableDisable_Auras(frame)
if frame.db.debuffs.enable or frame.db.buffs.enable then
frame:SetAuraUpdateMethod(E.global.unitframe.effectiveAura)
frame:SetAuraUpdateSpeed(E.global.unitframe.effectiveAuraSpeed)
if not frame:IsElementEnabled('Auras') then
frame:EnableElement('Auras')
end
frame:SetAuraUpdateMethod(E.global.unitframe.effectiveAura)
frame:SetAuraUpdateSpeed(E.global.unitframe.effectiveAuraSpeed)
else
if frame:IsElementEnabled('Auras') then
frame:DisableElement('Auras')
......
......@@ -3,7 +3,7 @@ local E, L, V, P, G = unpack(select(2, ...)) --Import: Engine, Locales, PrivateD
--Global Settings
G.general = {
UIScale = 0.64,
version = 11.28,
version = 11.291,
locale = E:GetLocale(),
eyefinity = false,
smallerWorldMap = true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment