diff options
Diffstat (limited to 'minecraft-chat/src/base_component.rs')
| -rw-r--r-- | minecraft-chat/src/base_component.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/minecraft-chat/src/base_component.rs b/minecraft-chat/src/base_component.rs index b07e08e7..fa39a11c 100644 --- a/minecraft-chat/src/base_component.rs +++ b/minecraft-chat/src/base_component.rs @@ -15,3 +15,9 @@ impl BaseComponent { } } } + +impl Default for BaseComponent { + fn default() -> Self { + Self::new() + } +} |
