diff --git a/Essentials/src/com/earth2me/essentials/ISettings.java b/Essentials/src/com/earth2me/essentials/ISettings.java index e7d70ea3f..abfe54c1c 100644 --- a/Essentials/src/com/earth2me/essentials/ISettings.java +++ b/Essentials/src/com/earth2me/essentials/ISettings.java @@ -235,9 +235,9 @@ public interface ISettings extends IConf { boolean isNotifyNoNewMail(); boolean isDropItemsIfFull(); - + boolean isLastMessageReplyRecipient(); - + BigDecimal getMinimumPayAmount(); long getLastMessageReplyRecipientTimeout(); @@ -249,20 +249,20 @@ public interface ISettings extends IConf { boolean isWorldTimePermissions(); boolean isSpawnOnJoin(); - + boolean isTeleportToCenterLocation(); - + boolean isCommandCooldownsEnabled(); long getCommandCooldownMs(String label); Entry getCommandCooldownEntry(String label); - + boolean isCommandCooldownPersistent(String label); boolean isNpcsInBalanceRanking(); NumberFormat getCurrencyFormat(); - + List getUnprotectedSignNames(); } diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index e02ce2eaf..03ecc5d81 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -1191,8 +1191,7 @@ public class Settings implements net.ess3.api.ISettings { public boolean isTeleportToCenterLocation() { return config.getBoolean("teleport-to-center", true); } - - + private Map commandCooldowns; private Map _getCommandCooldowns() { @@ -1276,17 +1275,18 @@ 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; - + private boolean _isNpcsInBalanceRanking() { return config.getBoolean("npcs-in-balance-ranking", false); } - + @Override public boolean isNpcsInBalanceRanking() { return npcsInBalanceRanking; } + private NumberFormat currencyFormat; private NumberFormat _getCurrencyFormat() {