Fix issues with default assignment loading on Sponge
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user