From 9950b91d752fc8297781623e2020a56c7659cd14 Mon Sep 17 00:00:00 2001 From: Meow <30401521+me0wg4ming@users.noreply.github.com> Date: Thu, 26 Feb 2026 15:08:11 +0100 Subject: [PATCH] added missing nil check for data --- libs/libdebuff.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libdebuff.lua b/libs/libdebuff.lua index 08840d09..b43dfd87 100644 --- a/libs/libdebuff.lua +++ b/libs/libdebuff.lua @@ -1539,6 +1539,7 @@ if hasNampower then end local data = ownDebuffs[targetGuid][spellName] + if not data then return end -- race condition: cleared by DEBUFF_REMOVED between init and use -- Downrank Protection: Check if existing debuff is still active and has higher rank if data.startTime and data.duration and data.rank and rankNum > 0 then