fix(config-compiler-plugin): fix config reference from category
ci/woodpecker/push/docs Pipeline was successful Details
ci/woodpecker/push/jfmod Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-07-18 21:00:08 +02:00
parent cd5a4ccbd4
commit b7743007e6
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ public class ConfigProcessor extends AbstractProcessor2 {
code.add("\n.category($S, builder$L -> ", name, i.incrementAndGet());
if (isUsable(tweaker)) code.add("$T.tweak(", tweaker);
code.add("builder$L", i.get()).indent();
for (String s : v.referencedConfigs()) code.add("\n.referencedConfigs($S)", s);
for (String s : v.referencedConfigs()) code.add("\n.referenceConfig($S)", s);
process(klazz, code, i);
code.unindent().add("\n");
if (isUsable(tweaker)) code.add(")");