aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/connect.rs
diff options
context:
space:
mode:
authorEightFactorial <murphkev000@gmail.com>2023-01-25 09:51:27 -0800
committerGitHub <noreply@github.com>2023-01-25 11:51:27 -0600
commit9a66cb97a659ed1f0e52ba3d9438de1d9b78d64a (patch)
tree16405cec7c45fb952509a5f93f6970b511315046 /azalea-protocol/src/connect.rs
parent473c74175c3a8189616bded528e3e6e4785dd3c8 (diff)
downloadazalea-drasl-9a66cb97a659ed1f0e52ba3d9438de1d9b78d64a.tar.xz
Fix test and packets (#60)
* Fix test and packets * Fix bug, fix a couple more packets * add tests and fix stuff * fix warnings Co-authored-by: Ubuntu <github@matdoes.dev>
Diffstat (limited to 'azalea-protocol/src/connect.rs')
-rwxr-xr-xazalea-protocol/src/connect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/connect.rs b/azalea-protocol/src/connect.rs
index 149ea95d..06b306b9 100755
--- a/azalea-protocol/src/connect.rs
+++ b/azalea-protocol/src/connect.rs
@@ -305,7 +305,7 @@ impl Connection<ClientboundLoginPacket, ServerboundLoginPacket> {
/// let e = azalea_crypto::encrypt(&p.public_key, &p.nonce).unwrap();
/// conn.authenticate(
/// &access_token,
- /// &Uuid::parse_str(&profile.id).expect("Invalid UUID"),
+ /// &profile.id,
/// e.secret_key,
/// &p
/// ).await?;