From e695808ca790d02966ff88a35d3b2543c950d355 Mon Sep 17 00:00:00 2001 From: Paliak <91493239+Paliak@users.noreply.github.com> Date: Fri, 6 Jun 2025 15:12:28 +0200 Subject: [PATCH] FIX: first explicit missing if it does not produce a modList (#8576) The item parsing logic in WIKI mode seems to rely on finding a mod that produces a modList to set the foundExplicit variable to true which then allows mods that do not produce a modList to be added to lineList. This causes issues with items such as Dialla's Malefaction where the first explicit line does not have any parsing which causes it to not be added to linesList. Interestingly enough other mods wihch are parsed piece-wise work fine here as they produce and empty modList with the extras paramter. --- src/Classes/Item.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/Item.lua b/src/Classes/Item.lua index 7ee7e46d..2d70a61a 100644 --- a/src/Classes/Item.lua +++ b/src/Classes/Item.lua @@ -813,7 +813,7 @@ function ItemClass:ParseRaw(raw, rarity, highQuality) elseif gameModeStage == "FINDEXPLICIT" then gameModeStage = "DONE" end - elseif foundExplicit then + elseif foundExplicit or (not foundExplicit and gameModeStage == "EXPLICIT") then modLine.modList = { } modLine.extra = line t_insert(modLines, modLine)