Updated my previous change to re-enable the "tapped" feature with the new Legion API

This commit is contained in:
Parnic
2016-05-29 14:18:51 -05:00
parent aec7852011
commit d05c1dac18
2 changed files with 4 additions and 0 deletions

View File

@ -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)