diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-28 18:06:27 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-28 18:06:27 +0700 |
commit | 324af98fa58a44ea64b3f841e6f73b827e80922d (patch) | |
tree | bde7bfab927b92fb1c1da5bf19d78740fae3aeb2 /src/main/java/cc/polyfrost/oneconfig/config/gson/NonProfileSpecificExclusionStrategy.java | |
parent | e4922cc5f965b5d1c467d1cc310ad06629b5863a (diff) | |
download | OneConfig-324af98fa58a44ea64b3f841e6f73b827e80922d.tar.gz OneConfig-324af98fa58a44ea64b3f841e6f73b827e80922d.tar.bz2 OneConfig-324af98fa58a44ea64b3f841e6f73b827e80922d.zip |
I am Not About To Jump Off A Bridge !!!!
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config/gson/NonProfileSpecificExclusionStrategy.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/gson/NonProfileSpecificExclusionStrategy.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/gson/NonProfileSpecificExclusionStrategy.java b/src/main/java/cc/polyfrost/oneconfig/config/gson/NonProfileSpecificExclusionStrategy.java index 7679b9c..e773295 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/gson/NonProfileSpecificExclusionStrategy.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/gson/NonProfileSpecificExclusionStrategy.java @@ -16,7 +16,7 @@ public class NonProfileSpecificExclusionStrategy extends ExclusionUtils implemen if (isSuperClassOf(f.getDeclaredClass(), Config.class)) return true; if (f.getAnnotation(NonProfileSpecific.class) == null) return true; Exclude exclude = f.getAnnotation(Exclude.class); - return exclude != null && exclude.type() != Exclude.ExcludeType.HUD; + return exclude != null; } /** @@ -26,6 +26,6 @@ public class NonProfileSpecificExclusionStrategy extends ExclusionUtils implemen @Override public boolean shouldSkipClass(Class<?> clazz) { Exclude exclude = clazz.getAnnotation(Exclude.class); - return exclude != null && exclude.type() != Exclude.ExcludeType.HUD; + return exclude != null; } } |