We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73e1650 + 57d1844 commit 642f3abCopy full SHA for 642f3ab
src/main/java/org/mvplugins/multiverse/core/utils/text/ChatTextFormatter.java
@@ -18,7 +18,8 @@ public final class ChatTextFormatter {
18
private static final TextFormatter wrapper;
19
20
static {
21
- if (ReflectHelper.hasClass("net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer")) {
+ if (ReflectHelper.hasClass("net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer")
22
+ && ReflectHelper.hasClass("net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer")) {
23
wrapper = new AdventureTextFormatter();
24
} else {
25
wrapper = new ChatColorTextFormatter();
0 commit comments