aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-27 15:09:33 +0000
committermat <github@matdoes.dev>2022-04-27 15:09:33 +0000
commit60d1fa50c32c202dd04895caa51172948a4760b6 (patch)
tree2af30c7de1d37bc3150a637e8b3150d40d95feea /azalea-client/src
parent4f9f2468f0fc80b19baac6904c05c9cc9a9cb61a (diff)
downloadazalea-drasl-60d1fa50c32c202dd04895caa51172948a4760b6.tar.xz
add player position packet
Diffstat (limited to 'azalea-client/src')
-rwxr-xr-xazalea-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 d8b47321..78370d7e 100755
--- a/azalea-client/src/connect.rs
+++ b/azalea-client/src/connect.rs
@@ -123,6 +123,10 @@ pub async fn join_server(address: &ServerAddress) -> Result<(), String> {
GamePacket::ClientboundRecipePacket(p) => {
println!("Got recipe packet {:?}", p);
}
+ GamePacket::ClientboundPlayerPositionPacket(p) => {
+ // TODO: reply with teleport confirm
+ println!("Got player position packet {:?}", p);
+ }
},
Err(e) => {
panic!("Error: {:?}", e);