Fix issues with default assignment loading on Sponge

This commit is contained in:
Luck committed 2017-01-18 21:37:41 +00:00
1 parent 1db777cd31
commit c99d6556db
2 files changed
+4 -1

No files matched your search

@@ -118,7 +118,7 @@ class SpongeConfig extends AbstractConfiguration<LPSpongePlugin> {
return def;
}
return node.getChildrenList().stream().map(n -> (String) n.getKey()).collect(Collectors.toList());
return node.getChildrenMap().keySet().stream().map(Object::toString).collect(Collectors.toList());
}
@SuppressWarnings("unchecked")