Fix AbstractLinker

This commit is contained in:
2025-12-20 11:41:36 +01:00
parent 87cc43a348
commit 6cda79f7e1
3 changed files with 4 additions and 3 deletions
@@ -56,7 +56,9 @@ public abstract class AbstractLinker<T> {
.map(s -> {
try {
return Class.forName(s, false, plugin.getClass().getClassLoader());
} catch (ClassNotFoundException | NoClassDefFoundError e) {
} catch (NoClassDefFoundError error) {
return null;
} catch (ClassNotFoundException e) {
throw new SecurityException(e.getMessage(), e);
}
})