Fixed default key

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

View File

@ -126,7 +126,9 @@ 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) {
flags.add(key + ";" + section.get(key)); if (!key.equals("default")) {
flags.add(key + ";" + section.get(key));
}
} }
} }
} }