diff options
| author | mat <git@matdoes.dev> | 2026-03-28 15:07:52 -1100 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-03-28 15:07:52 -1100 |
| commit | 7b7b12223205d5df21a31ae8e6fcd7ad69bd7cb4 (patch) | |
| tree | 0bd58b95d1247fc9044a0e5ed65a7a6b4f8f3c1d /azalea-chat/src/component.rs | |
| parent | ed12c2dd3608588cc5a6c1ee250735bb0414de7f (diff) | |
| download | azalea-drasl-7b7b12223205d5df21a31ae8e6fcd7ad69bd7cb4.tar.xz | |
re-export azalea-chat from azalea, and rename azalea::chat to client_chat
Diffstat (limited to 'azalea-chat/src/component.rs')
| -rw-r--r-- | azalea-chat/src/component.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/azalea-chat/src/component.rs b/azalea-chat/src/component.rs index b338fe2d..90906bfd 100644 --- a/azalea-chat/src/component.rs +++ b/azalea-chat/src/component.rs @@ -674,16 +674,6 @@ impl From<&str> for FormattedText { Self::from(s.to_owned()) } } -impl From<TranslatableComponent> for FormattedText { - fn from(c: TranslatableComponent) -> Self { - FormattedText::Translatable(c) - } -} -impl From<TextComponent> for FormattedText { - fn from(c: TextComponent) -> Self { - FormattedText::Text(c) - } -} impl Display for FormattedText { /// Render the text in the component but without any formatting/styling. |
