aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-28 13:09:17 +0200
committerGitHub <noreply@github.com>2022-06-28 13:09:17 +0200
commit9294eec079ae3268d50d4ad2c8769bf984dd18ca (patch)
tree6a2a182f2ae74f28e411b7c9cd7cfdb2a98baef2 /src/main/java/cc/polyfrost
parent324af98fa58a44ea64b3f841e6f73b827e80922d (diff)
downloadOneConfig-9294eec079ae3268d50d4ad2c8769bf984dd18ca.tar.gz
OneConfig-9294eec079ae3268d50d4ad2c8769bf984dd18ca.tar.bz2
OneConfig-9294eec079ae3268d50d4ad2c8769bf984dd18ca.zip
Update ConfigUtils.java
Diffstat (limited to 'src/main/java/cc/polyfrost')
-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));