diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config/annotations')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/annotations/Exclude.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/annotations/Exclude.java b/src/main/java/cc/polyfrost/oneconfig/config/annotations/Exclude.java index 6ffd1d9..eddb490 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/annotations/Exclude.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/annotations/Exclude.java @@ -12,7 +12,7 @@ import java.lang.annotation.Target; * This can be used interchangeably with the transient modifier built into Java. */ @Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.FIELD) +@Target({ElementType.FIELD, ElementType.TYPE}) public @interface Exclude { ExcludeType type() default ExcludeType.ALL; |