From 03a0b287b821c6cff8d078e0a2cd3092d39d5a5f Mon Sep 17 00:00:00 2001 From: Siphalor Date: Sat, 8 Nov 2025 13:28:12 +0100 Subject: [PATCH] fix(weaver-pojo): Fix value-based visiting in compound entries --- .../weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweed5/weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java b/tweed5/weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java index da7bb1c..db0a425 100644 --- a/tweed5/weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java +++ b/tweed5/weaver-pojo/src/main/java/de/siphalor/tweed5/weaver/pojo/impl/entry/StaticPojoCompoundConfigEntry.java @@ -86,7 +86,7 @@ public class StaticPojoCompoundConfigEntry extends BaseConfigEntry impleme try { Object subValue = entry.getter().invoke(value); //noinspection unchecked - visitor.visitEntry((ConfigEntry) entry.configEntry(), subValue); + ((ConfigEntry) entry.configEntry()).visitInOrder(visitor, subValue); } catch (Throwable e) { throw new RuntimeException("Failed to get compound sub entry value \"" + key + "\""); }