From 78407ee8f0eb5f7786042e82108a755319ec8ced Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Wed, 27 Jul 2022 13:26:44 +0200 Subject: Custom option fixes (#72) some small changes --- .../cc/polyfrost/oneconfig/config/annotations/CustomOption.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/cc/polyfrost/oneconfig/config/annotations/CustomOption.java') diff --git a/src/main/java/cc/polyfrost/oneconfig/config/annotations/CustomOption.java b/src/main/java/cc/polyfrost/oneconfig/config/annotations/CustomOption.java index dcfca53..d9ebc80 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/annotations/CustomOption.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/annotations/CustomOption.java @@ -1,15 +1,15 @@ package cc.polyfrost.oneconfig.config.annotations; -import cc.polyfrost.oneconfig.config.data.OptionType; -import cc.polyfrost.oneconfig.internal.config.annotations.Option; - import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; +/** + * For documentation please see: https://docs.polyfrost.cc/oneconfig/config/adding-options/custom-options + */ @Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.FIELD) +@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE}) public @interface CustomOption { String id() default ""; } -- cgit