aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2024-05-22 10:13:22 +0000
committermat <git@matdoes.dev>2024-05-22 10:14:35 +0000
commit729d211406c096488a5f7f3df5120393990ac282 (patch)
tree9f507f4adb40d14c505764f8436b290b59591b2a /azalea-client/src
parent892869ad1249e238eb9228d57bd9884793a9fe75 (diff)
downloadazalea-drasl-729d211406c096488a5f7f3df5120393990ac282.tar.xz
read Tool blocks as HolderSet
fixes an error with viaversion servers
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/packet_handling/configuration.rs1
-rw-r--r--azalea-client/src/packet_handling/game.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/azalea-client/src/packet_handling/configuration.rs b/azalea-client/src/packet_handling/configuration.rs
index add36c6e..1be34a12 100644
--- a/azalea-client/src/packet_handling/configuration.rs
+++ b/azalea-client/src/packet_handling/configuration.rs
@@ -49,6 +49,7 @@ pub fn send_packet_events(
Ok(packet) => packet,
Err(err) => {
error!("failed to read packet: {:?}", err);
+ debug!("packet bytes: {:?}", raw_packet);
continue;
}
};
diff --git a/azalea-client/src/packet_handling/game.rs b/azalea-client/src/packet_handling/game.rs
index dd2695dc..daa420c3 100644
--- a/azalea-client/src/packet_handling/game.rs
+++ b/azalea-client/src/packet_handling/game.rs
@@ -164,6 +164,7 @@ pub fn send_packet_events(
Ok(packet) => packet,
Err(err) => {
error!("failed to read packet: {:?}", err);
+ debug!("packet bytes: {:?}", raw_packet);
continue;
}
};