Now with proper commit...

This commit is contained in:
tastybento 2023-03-25 09:08:34 -07:00
parent 907268c2f4
commit 25e601b26c

View File

@ -202,8 +202,8 @@ public class AddonsManager {
return new PladdonData(null, false);
}
} catch (Exception ex) {
ex.printStackTrace();
plugin.logError("Could not load pladdon " + f.getName() + ". Loading as addon.");
plugin.logStacktrace(ex);
// Addon not pladdon
AddonClassLoader addonClassLoader = new AddonClassLoader(this, data, f, this.getClass().getClassLoader());
// Get the addon itself