Hopefully fixed WorldConfiguration.getKeys

This commit is contained in:
zml2008 2011-12-04 10:02:07 -08:00
parent 67f78ae8b5
commit 1d47d12189

View File

@ -257,12 +257,11 @@ private List<String> getKeys(String node) {
List<String> res = parentConfig.getKeys(node);
if (res == null || res.size() == 0) {
parentConfig.setProperty(node, new ArrayList<String>());
}
if (config.getProperty(node) != null) {
res = config.getKeys(node);
}
if (res == null) {
res = new ArrayList<String>();
}
return res;
}