Prevent blank text when logging in

This commit is contained in:
KingRainbow44 2023-05-04 00:09:57 -04:00
parent 2d12e0a4d9
commit afd22a9bcd
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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";
}
}