aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoractivepass <92068791+activepass@users.noreply.github.com>2025-05-17 01:07:51 -0500
committerGitHub <noreply@github.com>2025-05-17 01:07:51 -0500
commit9e34a2660d3ecfb9fd291fa9700380ffff4c8248 (patch)
tree8da3193fd1d189618aad78bbe9446d2eab5a9469
parentfbcaa6eca9b8635643227a09fe791acaa617918f (diff)
downloadazalea-drasl-9e34a2660d3ecfb9fd291fa9700380ffff4c8248.tar.xz
lowercase named colours (#222)
-rw-r--r--azalea-chat/src/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-chat/src/style.rs b/azalea-chat/src/style.rs
index 8b0c503c..3d068cb9 100644
--- a/azalea-chat/src/style.rs
+++ b/azalea-chat/src/style.rs
@@ -268,7 +268,7 @@ impl TextColor {
fn serialize(&self) -> String {
if let Some(name) = &self.name {
- name.clone()
+ name.clone().to_ascii_lowercase()
} else {
self.format_value()
}