aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/packet/config/events.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/packet/config/events.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/packet/config/events.rs')
-rw-r--r--azalea-client/src/plugins/packet/config/events.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/packet/config/events.rs b/azalea-client/src/plugins/packet/config/events.rs
index 6b647d74..a9b2179a 100644
--- a/azalea-client/src/plugins/packet/config/events.rs
+++ b/azalea-client/src/plugins/packet/config/events.rs
@@ -2,15 +2,15 @@ use std::io::Cursor;
use azalea_protocol::{
packets::{
- config::{ClientboundConfigPacket, ServerboundConfigPacket},
Packet,
+ config::{ClientboundConfigPacket, ServerboundConfigPacket},
},
read::deserialize_packet,
};
use bevy_ecs::prelude::*;
use tracing::{debug, error};
-use crate::{raw_connection::RawConnection, InConfigState};
+use crate::{InConfigState, raw_connection::RawConnection};
#[derive(Event, Debug, Clone)]
pub struct ReceiveConfigPacketEvent {