mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
included IncompatibleClassChangeError to handle classes, which are included in a jar to provide backward compatibility.
This commit is contained in:
parent
272e2e7904
commit
0b1446a9b1
@ -63,7 +63,7 @@ public class FileUtil {
|
|||||||
if (clazz.isAssignableFrom(loaded)) {
|
if (clazz.isAssignableFrom(loaded)) {
|
||||||
classes.add(loaded.asSubclass(clazz));
|
classes.add(loaded.asSubclass(clazz));
|
||||||
}
|
}
|
||||||
} catch (final NoClassDefFoundError ignored) {
|
} catch (final NoClassDefFoundError | IncompatibleClassChangeError ignored) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user