mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 12:23:59 +00:00
Fix sign list format.
This commit is contained in:
parent
b3252168f6
commit
ebb3a77430
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue