Adds suppport for node lists. Tested and verified in CraftIRC
By: Animosity <nullcline@gmail.com>
This commit is contained in:
@@ -196,6 +196,7 @@ public class ConfigurationNode {
|
|||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public List<String> getKeys(String path) {
|
public List<String> getKeys(String path) {
|
||||||
|
if (path == null) return new ArrayList<String>(root.keySet());
|
||||||
Object o = getProperty(path);
|
Object o = getProperty(path);
|
||||||
if (o == null) {
|
if (o == null) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user