From d78c02fa76c611daec9dfbae7047dcb664f354fd Mon Sep 17 00:00:00 2001 From: lokka30 <59464084+lokka30@users.noreply.github.com> Date: Thu, 24 Oct 2024 22:11:59 +0800 Subject: [PATCH] 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. --- pumpkin/src/client/client_packet.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pumpkin/src/client/client_packet.rs b/pumpkin/src/client/client_packet.rs index 54b3ebb09..cba93abc9 100644 --- a/pumpkin/src/client/client_packet.rs +++ b/pumpkin/src/client/client_packet.rs @@ -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],