aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/dev/isxander/yacl3/api
diff options
context:
space:
mode:
authorisXander <xander@isxander.dev>2023-08-15 16:13:54 +0100
committerisXander <xander@isxander.dev>2023-08-15 16:13:54 +0100
commit9f72a09a5b2afc99b08a79bda84f91ef51c0f4d0 (patch)
tree56c7214bf95fa50e2469762b972cb6163f5f1b14 /common/src/main/java/dev/isxander/yacl3/api
parent3e30af10ab48aa64fa659834a863a4e3067d5542 (diff)
downloadYetAnotherConfigLib-9f72a09a5b2afc99b08a79bda84f91ef51c0f4d0.tar.gz
YetAnotherConfigLib-9f72a09a5b2afc99b08a79bda84f91ef51c0f4d0.tar.bz2
YetAnotherConfigLib-9f72a09a5b2afc99b08a79bda84f91ef51c0f4d0.zip
Add javadoc to config api v2
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl3/api')
-rw-r--r--common/src/main/java/dev/isxander/yacl3/api/YetAnotherConfigLib.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/api/YetAnotherConfigLib.java b/common/src/main/java/dev/isxander/yacl3/api/YetAnotherConfigLib.java
index 5213e90..76f1ed7 100644
--- a/common/src/main/java/dev/isxander/yacl3/api/YetAnotherConfigLib.java
+++ b/common/src/main/java/dev/isxander/yacl3/api/YetAnotherConfigLib.java
@@ -53,7 +53,7 @@ public interface YetAnotherConfigLib {
}
static <T> YetAnotherConfigLib create(ConfigClassHandler<T> configHandler, ConfigBackedBuilder<T> builder) {
- return builder.build(configHandler.defaults(), configHandler.instance(), createBuilder().save(configHandler.serializer()::serialize)).build();
+ return builder.build(configHandler.defaults(), configHandler.instance(), createBuilder().save(configHandler.serializer()::save)).build();
}
/**