mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-08 00:11:34 +01:00
Fix Chat.COLOR_CHAR
This commit is contained in:
parent
f892213e8c
commit
6ccd31e7fe
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user