aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl/config/ConfigInstance.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/dev/isxander/yacl/config/ConfigInstance.java')
-rw-r--r--src/main/java/dev/isxander/yacl/config/ConfigInstance.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/dev/isxander/yacl/config/ConfigInstance.java b/src/main/java/dev/isxander/yacl/config/ConfigInstance.java
index a7c013c..8795eb1 100644
--- a/src/main/java/dev/isxander/yacl/config/ConfigInstance.java
+++ b/src/main/java/dev/isxander/yacl/config/ConfigInstance.java
@@ -1,9 +1,6 @@
package dev.isxander.yacl.config;
-import dev.isxander.yacl.api.YetAnotherConfigLib;
-
import java.lang.reflect.InvocationTargetException;
-import java.util.function.BiFunction;
/**
* Responsible for handing the actual config data type.
@@ -46,10 +43,6 @@ public abstract class ConfigInstance<T> {
return this.configClass;
}
- public YetAnotherConfigLib buildConfig(BiFunction<ConfigInstance<T>, YetAnotherConfigLib.Builder, YetAnotherConfigLib.Builder> builder) {
- return builder.apply(this, YetAnotherConfigLib.createBuilder().save(this::save)).build();
- }
-
public abstract void save();
public abstract void load();
}