Catch exception for adventure text

This commit is contained in:
libraryaddict 2021-06-07 23:15:30 +12:00
parent e5aab88cb6
commit 8f7b21314b
1 changed files with 1 additions and 1 deletions

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