From ae3722d72c6d4bd70e6d2e33da65bdcd79145e69 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 19 Apr 2025 23:49:11 +0500 Subject: send correct uuid in offline mode --- azalea-client/src/client.rs | 4 +--- 1 file changed, 1 insertion(+), 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(), }, )) }); -- cgit v1.2.3