Skip to content

Commit 5b1726a

Browse files
committed
Fix; Item language returning nil
1 parent eccb9bc commit 5b1726a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/actionhandlers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ actionhandlers.SpellParse = function (act)
10251025

10261026
if fields.item2 then
10271027
local item_article = not gProfileSettings.mode.simplify and gFuncs.AddItemArticle(effect_val) or ''
1028-
local tempspell = (msg_ID == 377 or msg_ID == 674) and get_item[effect_val] and get_item[effect_val].LogNamePlural[gProfileSettings.lang.object] or item_article..get_item[effect_val].LogNameSingular[effect_val]
1028+
local tempspell = (msg_ID == 377 or msg_ID == 674) and get_item[effect_val] and get_item[effect_val].LogNamePlural[gProfileSettings.lang.object] or item_article..get_item[effect_val].LogNameSingular[gProfileSettings.lang.object]
10291029
spell.item2 = gFuncs.ColorIt(tempspell, gProfileColor.itemcol)
10301030
spell.item2_id = effect_val
10311031
if fields.number then

0 commit comments

Comments
 (0)