Fixed default key

This commit is contained in:
boy0001 2015-03-11 22:16:57 +11:00
parent c7b1af7f66
commit 15b24b0a00

View File

@ -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) {