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/ProfileExclusionStrategy.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/ProfileExclusionStrategy.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/gson/ProfileExclusionStrategy.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/gson/ProfileExclusionStrategy.java b/src/main/java/cc/polyfrost/oneconfig/config/gson/ProfileExclusionStrategy.java index 45f3a04..ad9722b 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/gson/ProfileExclusionStrategy.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/gson/ProfileExclusionStrategy.java @@ -16,7 +16,7 @@ public class ProfileExclusionStrategy extends ExclusionUtils implements Exclusio 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 ProfileExclusionStrategy extends ExclusionUtils implements Exclusio @Override public boolean shouldSkipClass(Class<?> clazz) { Exclude exclude = clazz.getAnnotation(Exclude.class); - return exclude != null && exclude.type() != Exclude.ExcludeType.HUD; + return exclude != null; } } |