From 1a4cf9a403b98c741b65a0adb262533185b61ead Mon Sep 17 00:00:00 2001 From: Parnic Date: Wed, 19 Sep 2012 05:05:05 +0000 Subject: [PATCH] - Maybe fixed a PetInfo/TargetInfo buff error that I can't reproduce. --- modules/TargetInfo.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/TargetInfo.lua b/modules/TargetInfo.lua index f36b580..09caa6c 100644 --- a/modules/TargetInfo.lua +++ b/modules/TargetInfo.lua @@ -1691,6 +1691,10 @@ function IceTargetInfo.prototype:BuffOnEnter(this) return end + if not self.unit or not this.id then + return + end + GameTooltip:SetOwner(this, "ANCHOR_BOTTOMRIGHT") if this.type == "buff" then GameTooltip:SetUnitBuff(self.unit, this.id)