From 9e34a2660d3ecfb9fd291fa9700380ffff4c8248 Mon Sep 17 00:00:00 2001 From: activepass <92068791+activepass@users.noreply.github.com> Date: Sat, 17 May 2025 01:07:51 -0500 Subject: lowercase named colours (#222) --- azalea-chat/src/style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } -- cgit v1.2.3