diff --git a/libs/StatLogic-1.0/StatLogic-1.0.lua b/libs/StatLogic-1.0/StatLogic-1.0.lua index e8c5ef9..0c593bb 100644 --- a/libs/StatLogic-1.0/StatLogic-1.0.lua +++ b/libs/StatLogic-1.0/StatLogic-1.0.lua @@ -517,7 +517,7 @@ local function GetPlayerBuffRank(buff) local spellID = select(10, AuraUtil.FindAuraByName(buff, "player")) local rank = GetSpellSubtext(spellID) if spellID then - return strmatch(rank, "(%d+)") or 1 + return rank and strmatch(rank, "(%d+)") or 1 end end