From d250001082371dab8c61a872186fb829b034ab9b Mon Sep 17 00:00:00 2001 From: Business Goose Date: Tue, 29 Mar 2022 03:10:54 +0100 Subject: [PATCH] Collapse similar catches --- .../java/me/StevenLawson/TotalFreedomMod/util/Utilities.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/me/StevenLawson/TotalFreedomMod/util/Utilities.java b/src/main/java/me/StevenLawson/TotalFreedomMod/util/Utilities.java index 0add9c8..6ab968a 100644 --- a/src/main/java/me/StevenLawson/TotalFreedomMod/util/Utilities.java +++ b/src/main/java/me/StevenLawson/TotalFreedomMod/util/Utilities.java @@ -925,10 +925,7 @@ public class Utilities return (T) field.get(from); } - catch (NoSuchFieldException ex) - { - } - catch (IllegalAccessException ex) + catch (NoSuchFieldException | IllegalAccessException ignored) { } }