mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 00:55:10 +02:00
Fix sign list format.
This commit is contained in:
@@ -405,9 +405,10 @@ public class Settings implements ISettings
|
|||||||
private List<EssentialsSign> getEnabledSigns()
|
private List<EssentialsSign> getEnabledSigns()
|
||||||
{
|
{
|
||||||
List<EssentialsSign> newSigns = new ArrayList<EssentialsSign>();
|
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())
|
if (signName.isEmpty())
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user