Specify jar name on load error, fixes #2166

This commit is contained in:
PikaMug 2023-12-05 01:18:06 -05:00
parent 7a581532cf
commit 5c5d4dd0b3

View File

@ -127,7 +127,7 @@ public class BukkitModuleJarStorage implements ModuleStorageImpl {
try {
c = Class.forName(className, true, cl);
} catch (final NoClassDefFoundError e) {
plugin.getLogger().severe("Module error! Seek help from developer of module:");
plugin.getLogger().severe("Module error! Seek help from developer of jar " + jar.getName());
e.printStackTrace();
}
if (c != null) {