- Maybe fixed a PetInfo/TargetInfo buff error that I can't reproduce.

This commit is contained in:
Parnic
2012-09-19 05:05:05 +00:00
parent a4dda0d301
commit 1a4cf9a403

View File

@ -1691,6 +1691,10 @@ function IceTargetInfo.prototype:BuffOnEnter(this)
return return
end end
if not self.unit or not this.id then
return
end
GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT") GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT")
if this.type == "buff" then if this.type == "buff" then
GameTooltip:SetUnitBuff(self.unit, this.id) GameTooltip:SetUnitBuff(self.unit, this.id)