mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 14:33:09 +01:00
Adds suppport for node lists. Tested and verified in CraftIRC
By: Animosity <nullcline@gmail.com>
This commit is contained in:
parent
ed824523e8
commit
d7e0bed36b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue