Skip to content

Commit

Permalink
Fixed bug with identifying spells by spell ID. GH-97 GH-99
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicebar committed Sep 20, 2024
1 parent 91f1461 commit 35e211b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Raven_Options/Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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%[.*%]")
Expand Down

0 comments on commit 35e211b

Please sign in to comment.