Catch exception for adventure text

This commit is contained in:
libraryaddict 2021-06-07 23:15:30 +12:00
parent e5aab88cb6
commit 8f7b21314b

View File

@ -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;
}
}