1
mirror of https://github.com/CarmJos/EasyConfiguration.git synced 2026-06-04 18:48:20 +08:00

fix(list): Fixed error when getting the section list

This commit is contained in:
2025-07-09 15:41:31 +08:00
parent 0bfd15aaad
commit feb43bb382
@@ -851,6 +851,8 @@ public interface ConfigureSection {
return getList(path, obj -> { return getList(path, obj -> {
if (obj instanceof ConfigureSection) { if (obj instanceof ConfigureSection) {
return (ConfigureSection) obj; return (ConfigureSection) obj;
} else if (obj instanceof Map) {
return createSection(childPath(path), (Map<?, ?>) obj);
} }
return null; return null;
}); });