aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-10-30 21:42:32 -0500
committermat <github@matdoes.dev>2022-10-30 21:42:32 -0500
commit261913e606d7b8bdc96a51f41f23766f87ad9568 (patch)
treef0fd624a7c7bbf22965737eeb58f4da724291ca1
parent5ae890f94178d824fb73b4bbd2938dff9c22e96e (diff)
downloadazalea-drasl-261913e606d7b8bdc96a51f41f23766f87ad9568.tar.xz
reply to custom query packet
-rw-r--r--azalea-client/src/client.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index cb87c250..4ed2be2c 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -226,6 +226,11 @@ impl Client {
}
ClientboundLoginPacket::CustomQuery(p) => {
debug!("Got custom query {:?}", p);
+ conn.write(ServerboundCustomQueryPacket {
+ transaction_id: p.transaction_id,
+ data: None,
+ })
+ .await?;
}
}
};