aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/chat/handler.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-02-23 08:47:17 +0000
committermat <git@matdoes.dev>2025-02-23 08:47:17 +0000
commitdd557c8f293dbef3e2e881bcb1a85a7697a1ebbb (patch)
tree9878084875ac8ca7259db26b2c16776f212802a3 /azalea-client/src/plugins/chat/handler.rs
parente21e1b97bf9337e9f4747cd1b545b1b3a03e2ce7 (diff)
downloadazalea-drasl-dd557c8f293dbef3e2e881bcb1a85a7697a1ebbb.tar.xz
fix memory leak in simulation tests (lol)
also, change some vecs into boxed slices, and add RelativeEntityUpdate::new
Diffstat (limited to 'azalea-client/src/plugins/chat/handler.rs')
-rw-r--r--azalea-client/src/plugins/chat/handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/plugins/chat/handler.rs b/azalea-client/src/plugins/chat/handler.rs
index d598acdb..be99b667 100644
--- a/azalea-client/src/plugins/chat/handler.rs
+++ b/azalea-client/src/plugins/chat/handler.rs
@@ -1,8 +1,8 @@
use std::time::{SystemTime, UNIX_EPOCH};
use azalea_protocol::packets::{
- game::{s_chat::LastSeenMessagesUpdate, ServerboundChat, ServerboundChatCommand},
Packet,
+ game::{ServerboundChat, ServerboundChatCommand, s_chat::LastSeenMessagesUpdate},
};
use bevy_ecs::prelude::*;