diff options
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl3/api')
-rw-r--r-- | common/src/main/java/dev/isxander/yacl3/api/ListOption.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/api/ListOption.java b/common/src/main/java/dev/isxander/yacl3/api/ListOption.java index 0371c35..1f4adfa 100644 --- a/common/src/main/java/dev/isxander/yacl3/api/ListOption.java +++ b/common/src/main/java/dev/isxander/yacl3/api/ListOption.java @@ -76,6 +76,11 @@ public interface ListOption<T> extends OptionGroup, Option<List<T>> { /** * Sets the value that is used when creating new entries */ + Builder<T> initial(@NotNull Supplier<T> initialValue); + + /** + * Sets the value that is used when creating new entries + */ Builder<T> initial(@NotNull T initialValue); Builder<T> controller(@NotNull Function<Option<T>, ControllerBuilder<T>> controller); |