aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/client.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-10-27 20:58:11 -0500
committermat <github@matdoes.dev>2022-10-27 20:58:11 -0500
commit7ae8bfab5095b8d6fe71f32a0b1cda8a47ccff94 (patch)
tree06621a47025360fdea109add080f26cf826b43fe /azalea-client/src/client.rs
parentb2e54a7ff05781832371ddab9988fd80a5702fea (diff)
downloadazalea-drasl-7ae8bfab5095b8d6fe71f32a0b1cda8a47ccff94.tar.xz
fix removed packets still being defined
Diffstat (limited to 'azalea-client/src/client.rs')
-rw-r--r--azalea-client/src/client.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 60f9c9fc..54e08aae 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -422,8 +422,8 @@ impl Client {
tx.send(Event::Login).unwrap();
}
- ClientboundGamePacket::UpdateViewDistance(p) => {
- debug!("Got view distance packet {:?}", p);
+ ClientboundGamePacket::SetChunkCacheRadius(p) => {
+ debug!("Got set chunk cache radius packet {:?}", p);
}
ClientboundGamePacket::CustomPayload(p) => {
debug!("Got custom payload packet {:?}", p);
@@ -581,7 +581,7 @@ impl Client {
ClientboundGamePacket::UpdateAttributes(_p) => {
// debug!("Got update attributes packet {:?}", p);
}
- ClientboundGamePacket::EntityVelocity(_p) => {
+ ClientboundGamePacket::SetEntityMotion(_p) => {
// debug!("Got entity velocity packet {:?}", p);
}
ClientboundGamePacket::SetEntityLink(p) => {
@@ -743,10 +743,8 @@ impl Client {
ClientboundGamePacket::SetBorderWarningDelay(_) => {}
ClientboundGamePacket::SetBorderWarningDistance(_) => {}
ClientboundGamePacket::SetCamera(_) => {}
- ClientboundGamePacket::SetChunkCacheRadius(_) => {}
ClientboundGamePacket::SetDisplayChatPreview(_) => {}
ClientboundGamePacket::SetDisplayObjective(_) => {}
- ClientboundGamePacket::SetEntityMotion(_) => {}
ClientboundGamePacket::SetObjective(_) => {}
ClientboundGamePacket::SetPassengers(_) => {}
ClientboundGamePacket::SetPlayerTeam(_) => {}