Compare commits

...

3 Commits

Author SHA1 Message Date
KittenPixel
3ce8307292
Update src/main/java/emu/grasscutter/game/Account.java
Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2024-05-06 15:17:51 -07:00
KittenPixel
dca8781f5c
Update src/main/java/emu/grasscutter/game/Account.java
Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2024-05-06 15:17:06 -07:00
KittenPixel
cfc7e97338
Update src/main/java/emu/grasscutter/config/ConfigContainer.java
Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com>
2024-05-06 15:16:38 -07:00
2 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ public class ConfigContainer {
public boolean autoCreate = false;
public boolean EXPERIMENTAL_RealPassword = false;
public String[] defaultPermissions = {};
public String playeremail = "grasscutter.io";
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() + "@"+ACCOUNT.playeremail;
return this.getUsername() + "@" + ACCOUNT.playerEmail;
}
}
@ -235,7 +235,7 @@ public class Account {
this.addPermission("*");
}
// Set account default language as fserver default language
// Set account default language to server default language
if (!document.containsKey("locale")) {
this.locale = LANGUAGE;
}