From 50f7a8ba31e492353f5ebba2972445972718892a Mon Sep 17 00:00:00 2001 From: Jakllp <57708725+Jakllp@users.noreply.github.com> Date: Thu, 2 Sep 2021 18:26:16 +0200 Subject: [PATCH] Minor cleanup --- .../src/main/java/de/Keyle/MyPet/api/util/ReflectionUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/API/src/main/java/de/Keyle/MyPet/api/util/ReflectionUtil.java b/modules/API/src/main/java/de/Keyle/MyPet/api/util/ReflectionUtil.java index ed9ea4468..d8d88b124 100644 --- a/modules/API/src/main/java/de/Keyle/MyPet/api/util/ReflectionUtil.java +++ b/modules/API/src/main/java/de/Keyle/MyPet/api/util/ReflectionUtil.java @@ -130,8 +130,7 @@ public static boolean setFinalFieldValue(@NonNull Field field, Object target, Ob field.set(target, value); return true; - } catch (Exception ignored) { - ignored.printStackTrace(); + } catch (Throwable ignored) { } return false; }