aboutsummaryrefslogtreecommitdiff
path: root/minecraft-chat/src/base_component.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-11 11:38:12 -0600
committermat <github@matdoes.dev>2021-12-11 11:38:12 -0600
commit6026c74430f311c9217b77e7ac07d183efde5bce (patch)
tree1d20fc2794e69e4ebb56aa1e9dd43503c39a4144 /minecraft-chat/src/base_component.rs
parent5039f9668f3512240af22ac6bb49140012885509 (diff)
downloadazalea-drasl-6026c74430f311c9217b77e7ac07d183efde5bce.tar.xz
add legacy color codes
Diffstat (limited to 'minecraft-chat/src/base_component.rs')
-rw-r--r--minecraft-chat/src/base_component.rs2
1 files changed, 1 insertions, 1 deletions
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(),
}
}
}