aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-20 16:28:31 +0000
committermat <github@matdoes.dev>2022-04-20 16:28:39 +0000
commit8bd97c6c96f2c3c1ef4edfc1ff9d59f9af664972 (patch)
treed435eea3d11b59e1d93124b1293d1c50fc063792 /azalea-client/src
parentc5f10af09d1d2fee640b946da9ec5ca1bcd1e62d (diff)
downloadazalea-drasl-8bd97c6c96f2c3c1ef4edfc1ff9d59f9af664972.tar.xz
add player abilities packet
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/connect.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/azalea-client/src/connect.rs b/azalea-client/src/connect.rs
index bc45a121..f19c67c2 100644
--- a/azalea-client/src/connect.rs
+++ b/azalea-client/src/connect.rs
@@ -76,6 +76,10 @@ pub async fn join_server(address: &ServerAddress) -> Result<(), String> {
GamePacket::ClientboundDeclareCommandsPacket(p) => {
println!("Got declare commands packet {:?}", p);
}
+
+ GamePacket::ClientboundPlayerAbilitiesPacket(p) => {
+ println!("Got player abilities packet {:?}", p);
+ }
},
Err(e) => {
println!("Error: {:?}", e);