mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-06 23:53:20 +08:00
Compare commits
3 Commits
d8b27bcfd5
...
3ce8307292
Author | SHA1 | Date | |
---|---|---|---|
|
3ce8307292 | ||
|
dca8781f5c | ||
|
cfc7e97338 |
@ -140,7 +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 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() + "@"+ACCOUNT.playeremail;
|
return this.getUsername() + "@" + ACCOUNT.playerEmail;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -235,7 +235,7 @@ public class Account {
|
|||||||
this.addPermission("*");
|
this.addPermission("*");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set account default language as fserver default language
|
// Set account default language to server default language
|
||||||
if (!document.containsKey("locale")) {
|
if (!document.containsKey("locale")) {
|
||||||
this.locale = LANGUAGE;
|
this.locale = LANGUAGE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user