From 35e211b073f910d031cf29fa8acfdacc11c4a9ab Mon Sep 17 00:00:00 2001 From: Dicebar Date: Fri, 20 Sep 2024 14:15:50 +0200 Subject: [PATCH] Fixed bug with identifying spells by spell ID. GH-97 GH-99 --- CHANGELOG.md | 3 +++ Raven_Options/Options.lua | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e037eb2..b2288d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 20 September 2024 +- Fixed bug with identifying spells by spell ID. + # 19 September 2024 - Fixed a bug with empty spellbook tabs. - Fixed a bug where spell list entries with just integers caused the spell list to become inaccessible. diff --git a/Raven_Options/Options.lua b/Raven_Options/Options.lua index 07460eb..9921218 100644 --- a/Raven_Options/Options.lua +++ b/Raven_Options/Options.lua @@ -79,7 +79,7 @@ local function ValidateSpellName(name, allowPlusIDs, warnings) end local t = tonumber(name) if t then - name = SHIM:GetSpellTexture(t) -- convert spell id to a name + name = SHIM:GetSpellInfo(t) -- convert spell id to a name if name == "" then name = nil end else local found, _, idString = string.find(name, "^|c%x+|Hspell:(.+)|h%[.*%]")