From a38637058f50ed4d4c1567dfc87781b30fa70674 Mon Sep 17 00:00:00 2001 From: APairOfMoons <84629346+APairOfMoons@users.noreply.github.com> Date: Tue, 21 Jul 2026 11:25:12 +0800 Subject: [PATCH] Update debug output. --- src/main/java/cn/revaria/chatplus/util/TextStyleFormatter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/cn/revaria/chatplus/util/TextStyleFormatter.java b/src/main/java/cn/revaria/chatplus/util/TextStyleFormatter.java index f9378b6..39780c3 100644 --- a/src/main/java/cn/revaria/chatplus/util/TextStyleFormatter.java +++ b/src/main/java/cn/revaria/chatplus/util/TextStyleFormatter.java @@ -43,8 +43,11 @@ public class TextStyleFormatter { String sourceLiteralText = translateInput(sourceRawText, sourcePlayer, formatsTable); /* Debug + sourcePlayer.sendSystemMessage(Component.literal("原始聊天文本:")); sourcePlayer.sendSystemMessage(Component.literal(sourceRawText)); + sourcePlayer.sendSystemMessage(Component.literal("提取到的聊天内容:")); sourcePlayer.sendSystemMessage(Component.literal(sourceLiteralText)); + sourcePlayer.sendSystemMessage(Component.literal("修饰列表:")); for (int i : formatsTable.keySet()) { ArrayList formatsList = formatsTable.get(i); sourcePlayer.sendSystemMessage(Component.literal(i + "."));