From 588ba76ef553efcf63f30e8f7167b5058b8cd197 Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 2 Oct 2018 09:02:59 -0500 Subject: [PATCH] Possible fix for reported nil comparison issue. Can't reproduce here. --- modules/Stagger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Stagger.lua b/modules/Stagger.lua index 7819ca1..b7779f1 100644 --- a/modules/Stagger.lua +++ b/modules/Stagger.lua @@ -166,7 +166,7 @@ end function StaggerBar.prototype:GetDebuffInfo() if IceHUD.WowVer >= 70000 then - self.amount = UnitStagger(self.unit) + self.amount = UnitStagger(self.unit) or 0 self.staggerLevel = 1 local healthMax = UnitHealthMax(self.unit)