Fix Chat.COLOR_CHAR

This commit is contained in:
Felix Cravic 2020-06-23 00:34:49 +02:00
parent f892213e8c
commit 6ccd31e7fe

View File

@ -6,6 +6,8 @@ import net.kyori.text.serializer.legacy.LegacyComponentSerializer;
public class Chat {
public static final char COLOR_CHAR = (char) 0xA7; // Represent the character '§'
public static Component fromJsonString(String json) {
return GsonComponentSerializer.INSTANCE.deserialize(json);
}