mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Fixed default key
This commit is contained in:
parent
c7b1af7f66
commit
15b24b0a00
@ -126,10 +126,12 @@ public abstract class PlotWorld {
|
|||||||
ConfigurationSection section = config.getConfigurationSection("flags");
|
ConfigurationSection section = config.getConfigurationSection("flags");
|
||||||
Set<String> keys = section.getKeys(false);
|
Set<String> keys = section.getKeys(false);
|
||||||
for (String key : keys) {
|
for (String key : keys) {
|
||||||
|
if (!key.equals("default")) {
|
||||||
flags.add(key + ";" + section.get(key));
|
flags.add(key + ";" + section.get(key));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
this.DEFAULT_FLAGS = FlagManager.parseFlags(flags);
|
this.DEFAULT_FLAGS = FlagManager.parseFlags(flags);
|
||||||
} catch (final Exception e) {
|
} catch (final Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user