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

log some more stuff

This commit is contained in:
Ubuntu 2022-11-08 20:14:45 +00:00
parent 21898627fd
commit 10bdcf3b4d

View file

@ -419,6 +419,10 @@ impl Client {
// send the client information that we have set // send the client information that we have set
let client_information_packet: ClientInformation = let client_information_packet: ClientInformation =
client.client_information.read().clone(); client.client_information.read().clone();
log::debug!(
"Sending client information because login: {:?}",
client_information_packet
);
client.write_packet(client_information_packet.get()).await?; client.write_packet(client_information_packet.get()).await?;
// brand // brand
@ -865,6 +869,10 @@ impl Client {
let client_information = self.client_information.read(); let client_information = self.client_information.read();
client_information.clone().get() client_information.clone().get()
}; };
log::debug!(
"Sending client information (already logged in): {:?}",
client_information_packet
);
self.write_packet(client_information_packet).await?; self.write_packet(client_information_packet).await?;
} }