From 0d9715901035a3e94b09048dca70abb8ef5f70b4 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 9 Nov 2021 16:42:55 +1300 Subject: [PATCH] Some debug --- .../java/me/libraryaddict/disguise/LibsDisguises.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/LibsDisguises.java b/src/main/java/me/libraryaddict/disguise/LibsDisguises.java index f103216a..d4fef2a4 100644 --- a/src/main/java/me/libraryaddict/disguise/LibsDisguises.java +++ b/src/main/java/me/libraryaddict/disguise/LibsDisguises.java @@ -214,7 +214,14 @@ public class LibsDisguises extends JavaPlugin { } // This doesn't do anything but makes sure the class is constructed properly. - DisguiseAPI.getSelfDisguiseId(); + try { + DisguiseAPI.getSelfDisguiseId(); + } catch (Throwable ex) { + while (ex != null) { + ex.printStackTrace(); + ex = ex.getCause(); + } + } ReflectionManager.init(); PacketsManager.init();