From 0b1446a9b1bf1e05886b3b9df6bd3e38f1fa539b Mon Sep 17 00:00:00 2001 From: vk2gpz Date: Tue, 27 Aug 2024 09:20:03 +1000 Subject: [PATCH] included IncompatibleClassChangeError to handle classes, which are included in a jar to provide backward compatibility. --- src/main/java/me/clip/placeholderapi/util/FileUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/util/FileUtil.java b/src/main/java/me/clip/placeholderapi/util/FileUtil.java index 5d41c8f..6582dd9 100644 --- a/src/main/java/me/clip/placeholderapi/util/FileUtil.java +++ b/src/main/java/me/clip/placeholderapi/util/FileUtil.java @@ -63,7 +63,7 @@ public class FileUtil { if (clazz.isAssignableFrom(loaded)) { classes.add(loaded.asSubclass(clazz)); } - } catch (final NoClassDefFoundError ignored) { + } catch (final NoClassDefFoundError | IncompatibleClassChangeError ignored) { } } }