mirror of
https://github.com/CPTProgrammer/ChatPlus.git
synced 2026-08-04 10:06:40 +08:00
Disabled the markdown formats inheritance.
This commit is contained in:
parent
80b0dc5f21
commit
02ab858b4f
@ -43,6 +43,8 @@ public class TextStyleFormatter {
|
|||||||
String sourceLiteralText = translateInput(sourceRawText, sourcePlayer, formatsTable);
|
String sourceLiteralText = translateInput(sourceRawText, sourcePlayer, formatsTable);
|
||||||
|
|
||||||
/* Debug
|
/* Debug
|
||||||
|
sourcePlayer.sendSystemMessage(Component.literal("原始聊天代码:"));
|
||||||
|
sourcePlayer.sendSystemMessage(Component.literal(sourceMutableText.toString()));
|
||||||
sourcePlayer.sendSystemMessage(Component.literal("原始聊天文本:"));
|
sourcePlayer.sendSystemMessage(Component.literal("原始聊天文本:"));
|
||||||
sourcePlayer.sendSystemMessage(Component.literal(sourceRawText));
|
sourcePlayer.sendSystemMessage(Component.literal(sourceRawText));
|
||||||
sourcePlayer.sendSystemMessage(Component.literal("提取到的聊天内容:"));
|
sourcePlayer.sendSystemMessage(Component.literal("提取到的聊天内容:"));
|
||||||
@ -67,7 +69,7 @@ public class TextStyleFormatter {
|
|||||||
}
|
}
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
MutableComponent finalText = Component.empty().setStyle(sourceMutableText.getStyle());
|
MutableComponent finalText = Component.literal("");
|
||||||
ChatColorFormat currentColor = new ChatColorFormat(0, 'f');
|
ChatColorFormat currentColor = new ChatColorFormat(0, 'f');
|
||||||
HashSet<ChatFontFormat> currentFonts = new HashSet<>();
|
HashSet<ChatFontFormat> currentFonts = new HashSet<>();
|
||||||
int startIndex = 0;
|
int startIndex = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user