diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/core/ConfigUtils.java | 4 |
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) { } } } |