mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 17:34:39 +01:00
Prevent blank text when logging in
This commit is contained in:
@@ -110,7 +110,8 @@ public class Account {
|
||||
if (email != null && !email.isEmpty()) {
|
||||
return email;
|
||||
} else {
|
||||
return "";
|
||||
// As of game version 3.5+, only the email is displayed to a user.
|
||||
return this.getUsername() + "@grasscutter.io";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user