From 17dd9697931a9e152fef0045c24eb5ffe0005a65 Mon Sep 17 00:00:00 2001 From: Xurkon Date: Sun, 29 Mar 2026 11:49:57 -0500 Subject: [PATCH] Fix: Prevent nil index error in QuestieTooltips_RegisterObjectiveTooltip --- Compat/Compat.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Compat/Compat.lua b/Compat/Compat.lua index 6c0791e..5b0d0c9 100644 --- a/Compat/Compat.lua +++ b/Compat/Compat.lua @@ -1325,7 +1325,9 @@ end function QuestieCompat:QuestieTooltips_RegisterObjectiveTooltip(questId, key, objective) if string.find(key, "m_") then local name = QuestieDB.QueryNPCSingle(tonumber(string.sub(key, 3)), "name") - npActiveQuestNPCs[name] = key + if name then + npActiveQuestNPCs[name] = key + end end end