mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Updated my previous change to re-enable the "tapped" feature with the new Legion API
This commit is contained in:
@ -215,6 +215,8 @@ function IceUnitBar.prototype:Update()
|
||||
|
||||
if IceHUD.WowVer < 70000 then
|
||||
self.tapped = UnitIsTapped(self.unit) and (not UnitIsTappedByPlayer(self.unit))
|
||||
else
|
||||
self.tapped = UnitIsTapDenied(self.unit)
|
||||
end
|
||||
|
||||
self.health = UnitHealth(self.unit)
|
||||
|
Reference in New Issue
Block a user