aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client')
-rwxr-xr-xazalea-client/src/connect.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs
index ec3e122f..d28f2067 100755
--- a/azalea-client/src/connect.rs
+++ b/azalea-client/src/connect.rs
@@ -43,6 +43,7 @@ pub enum Event {
Login,
}
+/// Whether we should ignore errors when decoding packets.
const IGNORE_ERRORS: bool = false;
impl Client {
@@ -245,6 +246,12 @@ impl Client {
GamePacket::ClientboundSetEntityDataPacket(p) => {
println!("Got set entity data packet {:?}", p);
}
+ GamePacket::ClientboundUpdateAttributesPacket(p) => {
+ println!("Got update attributes packet {:?}", p);
+ }
+ GamePacket::ClientboundEntityVelocityPacket(p) => {
+ println!("Got entity velocity packet {:?}", p);
+ }
_ => panic!("Unexpected packet {:?}", packet),
}
println!();