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:
parent
261913e606
commit
aea53cd380
1 changed files with 8 additions and 4 deletions
|
@ -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?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue