1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

actually fix

This commit is contained in:
mat 2022-10-30 21:44:11 -05:00
parent 261913e606
commit aea53cd380

View file

@ -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?;
}
}