Fixed error in ChatUtil#prefixText

This commit is contained in:
FlorianMichael 2023-09-24 03:15:41 +02:00
parent 4ce73a42e5
commit 26323aac86
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -29,7 +29,7 @@ public class ChatUtil {
}
public static Text prefixText(final Text message) {
return Text.literal("").append(PREFIX).append(" " + message);
return Text.literal("").append(PREFIX).append(" " + message.getString());
}
public static void sendPrefixedMessage(final String message) {