From 29beda74efc7df4fa1cddbf66d170ba7fcd71851 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 28 Mar 2026 21:42:38 -0530 Subject: slightly cleanup azalea-chat and add ChatFormatting::from_name --- azalea-chat/src/text_component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-chat/src/text_component.rs') diff --git a/azalea-chat/src/text_component.rs b/azalea-chat/src/text_component.rs index 78270bd8..8c462f37 100644 --- a/azalea-chat/src/text_component.rs +++ b/azalea-chat/src/text_component.rs @@ -54,7 +54,7 @@ impl simdnbt::Serialize for TextComponent { } } -const LEGACY_FORMATTING_CODE_SYMBOL: char = '§'; +pub const LEGACY_FORMATTING_CODE_SYMBOL: char = '§'; /// Convert a legacy color code string into a FormattedText /// Technically in Minecraft this is done when displaying the text, but AFAIK -- cgit v1.2.3