mirror of
https://github.com/CarmJos/EasyConfiguration.git
synced 2026-06-04 10:38:19 +08:00
fix(list): Fixed error when getting the section list
This commit is contained in:
@@ -851,6 +851,8 @@ public interface ConfigureSection {
|
||||
return getList(path, obj -> {
|
||||
if (obj instanceof ConfigureSection) {
|
||||
return (ConfigureSection) obj;
|
||||
} else if (obj instanceof Map) {
|
||||
return createSection(childPath(path), (Map<?, ?>) obj);
|
||||
}
|
||||
return null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user