fix: TABHook noclassdeffound

This commit is contained in:
darksaid98 committed 2023-07-31 23:33:20 +02:00
1 parent 7d0167b7db
commit f6d67221d5
1 file changed
+6 -3
@@ -21,10 +21,13 @@ public class TABHook {
public static void init() {
if (enabled) return;
tabAPI = TabAPI.getInstance();
enabled = true;
try {
tabAPI = TabAPI.getInstance();
enabled = true;
registerPlayerLoadListener();
registerPlayerLoadListener();
} catch (NoClassDefFoundError ignored) {
}
}
private static void registerPlayerLoadListener() {