From 6026c74430f311c9217b77e7ac07d183efde5bce Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 11 Dec 2021 11:38:12 -0600 Subject: add legacy color codes --- minecraft-chat/src/base_component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minecraft-chat/src/base_component.rs') diff --git a/minecraft-chat/src/base_component.rs b/minecraft-chat/src/base_component.rs index 40fb3909..b07e08e7 100644 --- a/minecraft-chat/src/base_component.rs +++ b/minecraft-chat/src/base_component.rs @@ -11,7 +11,7 @@ impl BaseComponent { pub fn new() -> Self { Self { siblings: Vec::new(), - style: Style::new(), + style: Style::default(), } } } -- cgit v1.2.3