Fix sign list format.

This commit is contained in:
KHobbits 2012-01-29 01:38:24 +00:00
parent b3252168f6
commit ebb3a77430

View File

@ -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;