fixed Item reminder showing -999.-1.1 as a title, if "Name Language" is set to somthing other than "Current Language"

This commit is contained in:
Wofsauge committed 2026-07-22 20:45:50 +02:00
1 parent 8f3f16e797
commit 9efa77309e
1 file changed
+1 -1
+1 -1
View File
@@ -641,7 +641,7 @@ function EID:printDescription(desc, cachedID)
local curName = ""
if EID.Config["ShowItemName"] and desc.Name then
curName = desc.Name
if EID.Config["TranslateItemName"] ~= 2 then
if EID.Config["TranslateItemName"] ~= 2 and desc.ObjType ~= -999 then
local curLanguage = EID.Config["Language"]
if EID:getLanguage() ~= EID.DefaultLanguageCode then
EID.Config["Language"] = EID.DefaultLanguageCode