aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-10-30 21:44:11 -0500
committermat <github@matdoes.dev>2022-10-30 21:44:11 -0500
commitaea53cd380f9e2b294ee88bccba73171df48f7da (patch)
tree1d4660a5fda636f60997b0756a04ae8a1809a7e7 /azalea-client/src
parent261913e606d7b8bdc96a51f41f23766f87ad9568 (diff)
downloadazalea-drasl-aea53cd380f9e2b294ee88bccba73171df48f7da.tar.xz
actually fix
Diffstat (limited to 'azalea-client/src')
-rw-r--r--azalea-client/src/client.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs
index 4ed2be2c..f19178c2 100644
--- a/azalea-client/src/client.rs
+++ b/azalea-client/src/client.rs
@@ -17,6 +17,7 @@ use azalea_protocol::{
},
handshake::client_intention_packet::ClientIntentionPacket,
login::{
+ serverbound_custom_query_packet::ServerboundCustomQueryPacket,
serverbound_hello_packet::ServerboundHelloPacket,
serverbound_key_packet::{NonceOrSaltSignature, ServerboundKeyPacket},
ClientboundLoginPacket,
@@ -226,10 +227,13 @@ impl Client {
}
ClientboundLoginPacket::CustomQuery(p) => {
debug!("Got custom query {:?}", p);
- conn.write(ServerboundCustomQueryPacket {
- transaction_id: p.transaction_id,
- data: None,
- })
+ conn.write(
+ ServerboundCustomQueryPacket {
+ transaction_id: p.transaction_id,
+ data: None,
+ }
+ .get(),
+ )
.await?;
}
}