From 324af98fa58a44ea64b3f841e6f73b827e80922d Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Tue, 28 Jun 2022 18:06:27 +0700 Subject: I am Not About To Jump Off A Bridge !!!! --- .../cc/polyfrost/oneconfig/config/gson/ProfileExclusionStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/cc/polyfrost/oneconfig/config/gson/ProfileExclusionStrategy.java') 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; } } -- cgit