Fix: Tooltip nil name concatenation error

This commit is contained in:
Xurkon
2026-02-16 11:13:46 -06:00
parent a113070b7d
commit 7dce7b792e
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -1,5 +1,12 @@
# Changelog
## v9.7.4
### Fixes
- **[Tooltips]** Fixed "attempt to concatenate local 'name' (a nil value)" error when quest starters/finishers have missing names in the database.
- **[Database]** Fixed "Unknown Zone" issue for custom quests by correcting Zone ID index usage (swapped `[6]` RequiredRaces for `[17]` ZoneID).
- **[Database]** Corrected Dragonblight Zone ID in custom quest definitions.
## v9.7.3
### New Features
+3
View File
@@ -60,6 +60,9 @@ end
---@param starterId number The ID of the object or NPC the tooltip should show on
---@param key string @Either m_<npcId> or o_<objectId>
function QuestieTooltips:RegisterQuestStartTooltip(questId, name, starterId, key)
if not name then
return
end
if not QuestieTooltips.lookupByKey[key] then
QuestieTooltips.lookupByKey[key] = {};
end