Commit e608a5c7 authored by Merathilis's avatar Merathilis
Browse files

Revert "Hide Azerite bar at max level"

This reverts commit 77fe78dc.
parent 77fe78dc
......@@ -10,7 +10,6 @@ local format = string.format
local C_AzeriteItem_FindActiveAzeriteItem = C_AzeriteItem.FindActiveAzeriteItem
local C_AzeriteItem_GetAzeriteItemXPInfo = C_AzeriteItem.GetAzeriteItemXPInfo
local C_AzeriteItem_GetPowerLevel = C_AzeriteItem.GetPowerLevel
local C_AzeriteItem_IsAzeriteItemAtMaxLevel = C_AzeriteItem.IsAzeriteItemAtMaxLevel
local InCombatLockdown = InCombatLockdown
local CreateFrame = CreateFrame
......@@ -30,7 +29,7 @@ function mod:UpdateAzerite(event, unit)
local bar = self.azeriteBar
local azeriteItemLocation = C_AzeriteItem_FindActiveAzeriteItem()
if not azeriteItemLocation or (event == "PLAYER_REGEN_DISABLED" and self.db.azerite.hideInCombat) or C_AzeriteItem_IsAzeriteItemAtMaxLevel() then
if not azeriteItemLocation or (event == "PLAYER_REGEN_DISABLED" and self.db.azerite.hideInCombat) then
elseif azeriteItemLocation and (not self.db.azerite.hideInCombat or not InCombatLockdown()) then
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