mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 08:22:33 +00:00
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:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user