mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
log some more stuff
This commit is contained in:
parent
21898627fd
commit
10bdcf3b4d
1 changed files with 8 additions and 0 deletions
|
@ -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?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue