forked from SteamWar/SteamWar
Fix AbstractLinker
This commit is contained in:
@@ -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);
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user