Catch exception for adventure text
This commit is contained in:
parent
e5aab88cb6
commit
8f7b21314b
@ -224,7 +224,7 @@ public class DisguiseUtilities {
|
|||||||
try {
|
try {
|
||||||
Class.forName("net.kyori.adventure.text.minimessage.MiniMessage");
|
Class.forName("net.kyori.adventure.text.minimessage.MiniMessage");
|
||||||
adventureTextSupport = true;
|
adventureTextSupport = true;
|
||||||
} catch (ClassNotFoundException ex) {
|
} catch (Throwable ex) {
|
||||||
adventureTextSupport = false;
|
adventureTextSupport = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user