Skip to content

Commit

Permalink
fix: autenticate -> authenticate (#175)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lokka30 authored Oct 24, 2024
1 parent 6fb751a commit d78c02f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pumpkin/src/client/client_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -181,7 +181,7 @@ impl Client {
self.send_packet(&packet).await;
}

async fn autenticate(
async fn authenticate(
&self,
server: &Server,
shared_secret: &[u8],
Expand Down

0 comments on commit d78c02f

Please sign in to comment.