mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-24 22:43:55 +00:00
Merge branch '2.x' into custom-currency-formatting
This commit is contained in:
commit
caeb59ede4
4 changed files with 23 additions and 2 deletions
|
@ -547,6 +547,7 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
isCustomQuitMessage = !customQuitMessage.equals("none");
|
||||
muteCommands = _getMuteCommands();
|
||||
commandCooldowns = _getCommandCooldowns();
|
||||
npcsInBalanceRanking = _isNpcsInBalanceRanking();
|
||||
currencyFormat = _getCurrencyFormat();
|
||||
}
|
||||
|
||||
|
@ -1274,7 +1275,17 @@ public class Settings implements net.ess3.api.ISettings {
|
|||
// TODO: enable per command cooldown specification for persistence.
|
||||
return config.getBoolean("command-cooldown-persistence", true);
|
||||
}
|
||||
|
||||
|
||||
private boolean npcsInBalanceRanking = false;
|
||||
|
||||
public boolean _isNpcsInBalanceRanking() {
|
||||
return config.getBoolean("npcs-in-balance-ranking", false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNpcsInBalanceRanking() {
|
||||
return npcsInBalanceRanking;
|
||||
}
|
||||
private NumberFormat currencyFormat;
|
||||
|
||||
private NumberFormat _getCurrencyFormat() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue