From 7464fdb297b7669083ec16d01fccd69f8f80b374 Mon Sep 17 00:00:00 2001 From: Pyrrha Date: Sat, 18 Jun 2022 13:31:11 +1000 Subject: [PATCH] fix: don't throw runtime exceptions when failing to retrieve pronouns --- .../io/github/ashisbored/playerpronouns/PlayerPronouns.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/ashisbored/playerpronouns/PlayerPronouns.java b/src/main/java/io/github/ashisbored/playerpronouns/PlayerPronouns.java index f989731..dca63c9 100644 --- a/src/main/java/io/github/ashisbored/playerpronouns/PlayerPronouns.java +++ b/src/main/java/io/github/ashisbored/playerpronouns/PlayerPronouns.java @@ -122,7 +122,7 @@ public class PlayerPronouns implements ModInitializer { setPronouns(handler.getPlayer(), new Pronouns(pronouns, PronounList.get().getCalculatedPronounStrings().get(pronouns))); }).join(); } catch (URISyntaxException e) { - throw new RuntimeException(e); + e.printStackTrace(); } } });