mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Only use HasBuff method as a fallback
If we can check the power type, we should rely on only that.
This commit is contained in:
@ -56,7 +56,7 @@ function DragonridingVigor.prototype:CheckShouldShow(event, unit, info)
|
||||
|
||||
if knowsAlternateMountEnum and UnitPowerMax(self.unit, unitPowerType) > 0 then
|
||||
self:Show(true)
|
||||
elseif IceHUD:HasAnyBuff("player", DragonridingBuffs) then
|
||||
elseif not knowsAlternateMountEnum and IceHUD:HasAnyBuff("player", DragonridingBuffs) then
|
||||
self:Show(true)
|
||||
else
|
||||
self:Show(false)
|
||||
|
Reference in New Issue
Block a user