From 953645023c829735663493511390948bf69714f8 Mon Sep 17 00:00:00 2001 From: Xander Date: Wed, 8 Nov 2023 09:51:39 +0000 Subject: Remove use of deprecated ConfigClassHandler#serializer in YetAnotherConfigLib#create --- common/src/main/java/dev/isxander/yacl3/api/YetAnotherConfigLib.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 76f1ed7..68e9986 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 YetAnotherConfigLib create(ConfigClassHandler configHandler, ConfigBackedBuilder builder) { - return builder.build(configHandler.defaults(), configHandler.instance(), createBuilder().save(configHandler.serializer()::save)).build(); + return builder.build(configHandler.defaults(), configHandler.instance(), createBuilder().save(configHandler::save)).build(); } /** -- cgit