aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java4
1 files changed, 2 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 5327dad..93069c5 100644
--- a/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java
@@ -83,7 +83,7 @@ public class ConfigUtils {
try {
field.setAccessible(true);
return field.get(parent);
- } catch (IllegalAccessException ignored) {
+ } catch (Exception ignored) {
return null;
}
}
@@ -92,7 +92,7 @@ public class ConfigUtils {
try {
field.setAccessible(true);
field.set(parent, value);
- } catch (IllegalAccessException ignored) {
+ } catch (Exception ignored) {
}
}
}