Add addon version in enabling statement (#1541)

This is one of the missing information in log files. It would be useful to see the version on enabling status.
This commit is contained in:
BONNe 2020-10-09 17:33:19 +03:00 committed by GitHub
parent b8d5a76efb
commit f25e4d9c8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,7 +221,7 @@ public class AddonsManager {
* @param addon addon
*/
private void enableAddon(Addon addon) {
plugin.log("Enabling " + addon.getDescription().getName() + "...");
plugin.log("Enabling " + addon.getDescription().getName() + " (" + addon.getDescription().getVersion() + ")...");
try {
// If this is a GameModeAddon create the worlds, register it and load the blueprints
if (addon instanceof GameModeAddon) {