fix: autenticate -> authenticate (#175)

Fixed a typo in client_packets.rs.

I believe all references to the function (1 of them - on line 155) have
been renamed to reflect the corrected spelling.

I ran and joined the server with no problems after making this change.
This commit is contained in:
lokka30
2024-10-24 22:11:59 +08:00
committed by GitHub
parent 6fb751accf
commit d78c02fa76

View File

@@ -152,7 +152,7 @@ impl Client {
if BASIC_CONFIG.online_mode {
match self
.autenticate(server, &shared_secret, &profile.name)
.authenticate(server, &shared_secret, &profile.name)
.await
{
Ok(new_profile) => *profile = new_profile,
@@ -181,7 +181,7 @@ impl Client {
self.send_packet(&packet).await;
}
async fn autenticate(
async fn authenticate(
&self,
server: &Server,
shared_secret: &[u8],