diff options
| author | mat <git@matdoes.dev> | 2026-03-28 21:42:38 -0530 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-03-28 21:42:38 -0530 |
| commit | 29beda74efc7df4fa1cddbf66d170ba7fcd71851 (patch) | |
| tree | 32f0d9d2e6bc153a499832ae8d53562410278379 /azalea-chat/src/text_component.rs | |
| parent | 7b7b12223205d5df21a31ae8e6fcd7ad69bd7cb4 (diff) | |
| download | azalea-drasl-29beda74efc7df4fa1cddbf66d170ba7fcd71851.tar.xz | |
slightly cleanup azalea-chat and add ChatFormatting::from_name
Diffstat (limited to 'azalea-chat/src/text_component.rs')
| -rw-r--r-- | azalea-chat/src/text_component.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
