diff options
| author | mat <github@matdoes.dev> | 2022-04-27 15:09:33 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-27 15:09:33 +0000 |
| commit | 60d1fa50c32c202dd04895caa51172948a4760b6 (patch) | |
| tree | 2af30c7de1d37bc3150a637e8b3150d40d95feea /azalea-client | |
| parent | 4f9f2468f0fc80b19baac6904c05c9cc9a9cb61a (diff) | |
| download | azalea-drasl-60d1fa50c32c202dd04895caa51172948a4760b6.tar.xz | |
add player position packet
Diffstat (limited to 'azalea-client')
| -rwxr-xr-x | azalea-client/src/connect.rs | 4 |
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); |
