Skip to content

Commit f4df5de

Browse files
authored
Add Ctrl+Alt+c error popup (#8287)
1 parent d34137a commit f4df5de

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Classes/Item.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,11 @@ function ItemClass:ParseRaw(raw, rarity, highQuality)
298298
self.rawLines = { }
299299
-- Find non-blank lines and trim whitespace
300300
for line in raw:gmatch("%s*([^\n]*%S)") do
301-
t_insert(self.rawLines, line)
301+
if line:match("^{ ") then
302+
main:OpenMessagePopup("Error", "\"Advanced Item Description\" (Ctrl+Alt+c) is currently unsupported.\nPlease try again using Ctrl+c only.")
303+
return
304+
end
305+
t_insert(self.rawLines, line)
302306
end
303307
local mode = rarity and "GAME" or "WIKI"
304308
local l = 1

0 commit comments

Comments
 (0)