diff options
| author | mat <github@matdoes.dev> | 2022-10-30 21:44:11 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-30 21:44:11 -0500 |
| commit | aea53cd380f9e2b294ee88bccba73171df48f7da (patch) | |
| tree | 1d4660a5fda636f60997b0756a04ae8a1809a7e7 | |
| parent | 261913e606d7b8bdc96a51f41f23766f87ad9568 (diff) | |
| download | azalea-drasl-aea53cd380f9e2b294ee88bccba73171df48f7da.tar.xz | |
actually fix
| -rw-r--r-- | azalea-client/src/client.rs | 12 |
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?; } } |
