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