Added better error message for exception when loading addons.

This commit is contained in:
tastybento 2018-02-06 16:06:04 -08:00
parent 04a4394752
commit 8b7d92d8e6

View File

@ -55,7 +55,7 @@ public final class AddonsManager {
try {
this.loadAddon(file);
} catch (InvalidAddonFormatException | InvalidAddonInheritException | InvalidDescriptionException e) {
e.printStackTrace();
plugin.getLogger().severe("Could not load addon " + file.getName() + " : " + e.getMessage());
}
}
}