Removed UnitIsTapped usage for Legion

This commit is contained in:
Parnic
2016-05-24 00:50:14 -05:00
parent efc25bdb9c
commit 9b5df60efa
2 changed files with 6 additions and 2 deletions

View File

@ -213,7 +213,9 @@ end
function IceUnitBar.prototype:Update()
IceUnitBar.super.prototype.Update(self)
self.tapped = UnitIsTapped(self.unit) and (not UnitIsTappedByPlayer(self.unit))
if IceHUD.WowVer < 70000 then
self.tapped = UnitIsTapped(self.unit) and (not UnitIsTappedByPlayer(self.unit))
end
self.health = UnitHealth(self.unit)
self.maxHealth = UnitHealthMax(self.unit)