mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-25 18:48:24 +01:00
Fix sign list format.
This commit is contained in:
parent
b3252168f6
commit
ebb3a77430
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user