From 8f7b21314b0c1ff71b6975554be65f669c5eea38 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 7 Jun 2021 23:15:30 +1200 Subject: [PATCH] Catch exception for adventure text --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index c3fd964f..5eae4330 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -224,7 +224,7 @@ public class DisguiseUtilities { try { Class.forName("net.kyori.adventure.text.minimessage.MiniMessage"); adventureTextSupport = true; - } catch (ClassNotFoundException ex) { + } catch (Throwable ex) { adventureTextSupport = false; } }