aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/config
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-28 18:50:04 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-06-28 18:50:04 +0700
commit50c2df9ab3211991a0bae88772c046abece50347 (patch)
tree2630cf87d423ea5674f19ed51d7439fe39fd57dd /src/main/java/cc/polyfrost/oneconfig/config
parent96e5b8efc5092900f988335741db773f4108b806 (diff)
parent20ff6a1eb88b88ca57a837fc0e68a8cc9437b864 (diff)
downloadOneConfig-50c2df9ab3211991a0bae88772c046abece50347.tar.gz
OneConfig-50c2df9ab3211991a0bae88772c046abece50347.tar.bz2
OneConfig-50c2df9ab3211991a0bae88772c046abece50347.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java b/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java
index 50fb3e6..4c860e4 100644
--- a/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java
@@ -57,8 +57,6 @@ public class ConfigUtils {
parentClass = clazz;
}
for (Field field : fields) {
- Exclude exclude = findAnnotation(field, Exclude.class);
- if (exclude != null) continue;
Option option = findAnnotation(field, Option.class);
if (option == null) continue;
options.add(getOption(option, field, object));