Skip to content

Commit f419cff

Browse files
author
Ruben Zantingh
committed
Resolve lua error when checking the AH and codex
1 parent de4196c commit f419cff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

MultiLanguage.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ local function GetSpellIDFromTooltip(tooltip)
492492
if owner then
493493
local ownerName = owner:GetName()
494494

495-
if ownerName then
496-
return nul
495+
if not ownerName then
496+
return nil
497497
end
498498

499499
if string.match(ownerName, "^ActionButton%d+$") or

MultiLanguage.toc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Title: MultiLanguage
33
## Notes: Tooltip displaying data in another language
44
## Author: Ruben Zantingh
5-
## Version: 1.1.0
5+
## Version: 1.1.1
66
## SavedVariables: MultiLanguageOptions
77

88
Database/Npcs/npcs.lua

0 commit comments

Comments
 (0)