Adds suppport for node lists. Tested and verified in CraftIRC

This commit is contained in:
Animosity
2011-02-07 03:20:59 +08:00
committed by Warren
parent 78d8a9729a
commit e7b3e77e2d

View File

@@ -196,6 +196,7 @@ public class ConfigurationNode {
*/
@SuppressWarnings("unchecked")
public List<String> getKeys(String path) {
if (path == null) return new ArrayList<String>(root.keySet());
Object o = getProperty(path);
if (o == null) {
return null;