summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-01-29 01:38:24 +0000
committerKHobbits <rob@khobbits.co.uk>2012-01-29 01:38:24 +0000
commitebb3a774300479fac5cf059a8f1dbb5ae0f947ef (patch)
tree0c3b8609c76613d262721a28842c95c7274632f9
parentb3252168f62652d5fce51b02c27b3654206dba91 (diff)
downloadEssentials-ebb3a774300479fac5cf059a8f1dbb5ae0f947ef.tar
Essentials-ebb3a774300479fac5cf059a8f1dbb5ae0f947ef.tar.gz
Essentials-ebb3a774300479fac5cf059a8f1dbb5ae0f947ef.tar.lz
Essentials-ebb3a774300479fac5cf059a8f1dbb5ae0f947ef.tar.xz
Essentials-ebb3a774300479fac5cf059a8f1dbb5ae0f947ef.zip
Fix sign list format.
-rw-r--r--Essentials/src/com/earth2me/essentials/Settings.java5
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;