From 7d0c7553fd5a0210285a51a65c10f898f641a0cc Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 30 Oct 2025 19:50:37 +0100 Subject: Remove unnecessary MoveEntityError and MovePlayerError types and other cleanup --- azalea-chat/src/text_component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-chat/src/text_component.rs') diff --git a/azalea-chat/src/text_component.rs b/azalea-chat/src/text_component.rs index 0fa0cd6f..c21e2d46 100644 --- a/azalea-chat/src/text_component.rs +++ b/azalea-chat/src/text_component.rs @@ -146,7 +146,7 @@ impl TextComponent { FormattedText::Text(self) } pub fn with_style(mut self, style: Style) -> Self { - self.base.style = Box::new(style); + *self.base.style = style; self } } -- cgit v1.2.3