aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-09-14 18:17:32 -0500
committermat <git@matdoes.dev>2023-09-14 18:17:32 -0500
commit6a37971420e1fcf2d48d68281d99e0d464297687 (patch)
treebe37f2db52c2899f5d5b965798b8c7fa30443fd6 /azalea-protocol/src
parent3621acab758c8bd00ee08feee307a02512f234c8 (diff)
downloadazalea-drasl-6a37971420e1fcf2d48d68281d99e0d464297687.tar.xz
add ResourcePackEvent event
Diffstat (limited to 'azalea-protocol/src')
-rwxr-xr-xazalea-protocol/src/write.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/write.rs b/azalea-protocol/src/write.rs
index 1d66eba1..9e2e042b 100755
--- a/azalea-protocol/src/write.rs
+++ b/azalea-protocol/src/write.rs
@@ -88,7 +88,7 @@ where
P: ProtocolPacket + Debug,
W: AsyncWrite + Unpin + Send,
{
- trace!("Sending packet: {:?}", packet,);
+ trace!("Sending packet: {packet:?}");
let mut buf = packet_encoder(packet).unwrap();
if let Some(threshold) = compression_threshold {
buf = compression_encoder(&buf, threshold).await.unwrap();