diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Settings.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Settings.java b/Essentials/src/com/earth2me/essentials/Settings.java index 2152fc800..e50e9c16f 100644 --- a/Essentials/src/com/earth2me/essentials/Settings.java +++ b/Essentials/src/com/earth2me/essentials/Settings.java @@ -405,9 +405,10 @@ public class Settings implements ISettings private List<EssentialsSign> getEnabledSigns() { List<EssentialsSign> newSigns = new ArrayList<EssentialsSign>(); - for (String signName : config.getString("enabledSigns", "").split(",")) + + for (String signName : config.getStringList("enabledSigns", null)) { - signName = signName.trim(); + signName = signName.trim().toUpperCase(Locale.ENGLISH); if (signName.isEmpty()) { continue; |