Skip to content

Commit 70f804f

Browse files
committed
Keep unrecognized mods as custom mods so we don't lose anything
1 parent 1a364f9 commit 70f804f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Classes/Item.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,10 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
455455
if #self.pendingAffixList == 0 and #backupAffixList > 0 then
456456
self.pendingAffixList = backupAffixList
457457
end
458+
if #self.pendingAffixList == 0 and #backupAffixList == 0 then
459+
-- Could be a veiled, temple, or other custom mod, so just keep it around
460+
linePrefix = "{custom}"
461+
end
458462
elseif fullModName:match("(.*)Enhancement.*") then
459463
linePostfix = " (enchant)"
460464
end

0 commit comments

Comments
 (0)