Skip to content

Commit a8ff467

Browse files
committed
Fix multi-line reminder text parsing
1 parent 8e9df1a commit a8ff467

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Classes/Item.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,9 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
418418
-- nothing to do
419419
elseif line:match("^%(%a+") then
420420
-- Reminder text, nothing to parse
421+
while self.rawLines[l] and not self.rawLines[l]:match("%)$") do
422+
l = l + 1
423+
end
421424
elseif line:match("^{ ") then
422425
-- We're parsing advanced copy/paste format
423426
linePrefix = ""

0 commit comments

Comments
 (0)