From aea53cd380f9e2b294ee88bccba73171df48f7da Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 30 Oct 2022 21:44:11 -0500 Subject: [PATCH] actually fix --- azalea-client/src/client.rs | 12 ++++++++---- 1 file 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?; } }