1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

send correct uuid in offline mode

This commit is contained in:
mat 2025-04-19 23:49:11 +05:00
parent fefc5db09a
commit ae3722d72c

View file

@ -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(),
},
))
});