4 Commits

2 changed files with 3 additions and 2 deletions

View File

@ -140,6 +140,7 @@ public class ConfigContainer {
public boolean autoCreate = false;
public boolean EXPERIMENTAL_RealPassword = false;
public String[] defaultPermissions = {};
public String playerEmail = "grasscutter.io";
public int maxPlayer = -1;
}

View File

@ -109,7 +109,7 @@ public class Account {
return email;
} else {
// As of game version 3.5+, only the email is displayed to a user.
return this.getUsername() + "@grasscutter.io";
return this.getUsername() + "@" + ACCOUNT.playerEmail;
}
}
@ -235,7 +235,7 @@ public class Account {
this.addPermission("*");
}
// Set account default language as server default language
// Set account default language to server default language
if (!document.containsKey("locale")) {
this.locale = LANGUAGE;
}