mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-07-19 05:03:50 +00:00
Compare commits
4 Commits
unstable
...
3ce8307292
Author | SHA1 | Date | |
---|---|---|---|
3ce8307292 | |||
dca8781f5c | |||
cfc7e97338 | |||
d8b27bcfd5 |
@ -140,6 +140,7 @@ public class ConfigContainer {
|
|||||||
public boolean autoCreate = false;
|
public boolean autoCreate = false;
|
||||||
public boolean EXPERIMENTAL_RealPassword = false;
|
public boolean EXPERIMENTAL_RealPassword = false;
|
||||||
public String[] defaultPermissions = {};
|
public String[] defaultPermissions = {};
|
||||||
|
public String playerEmail = "grasscutter.io";
|
||||||
public int maxPlayer = -1;
|
public int maxPlayer = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ public class Account {
|
|||||||
return email;
|
return email;
|
||||||
} else {
|
} else {
|
||||||
// As of game version 3.5+, only the email is displayed to a user.
|
// 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("*");
|
this.addPermission("*");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set account default language as server default language
|
// Set account default language to server default language
|
||||||
if (!document.containsKey("locale")) {
|
if (!document.containsKey("locale")) {
|
||||||
this.locale = LANGUAGE;
|
this.locale = LANGUAGE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user