diff options
| author | mat <git@matdoes.dev> | 2025-04-19 23:49:11 +0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-04-19 23:49:11 +0500 |
| commit | ae3722d72c6d4bd70e6d2e33da65bdcd79145e69 (patch) | |
| tree | 4f4e3b4466b19c10512ec63ca88d060fb9fd9644 | |
| parent | fefc5db09a3e2d4453d63edad0f71e93bbb98029 (diff) | |
| download | azalea-drasl-ae3722d72c6d4bd70e6d2e33da65bdcd79145e69.tar.xz | |
send correct uuid in offline mode
| -rw-r--r-- | azalea-client/src/client.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index bef05a14..8ae236df 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -323,9 +323,7 @@ impl Client { entity, ServerboundHello { name: account.username.clone(), - // TODO: pretty sure this should generate an offline-mode uuid instead of just - // Uuid::default() - profile_id: account.uuid.unwrap_or_default(), + profile_id: account.uuid_or_offline(), }, )) }); |
