plugin.disable(); // Now call disable
}
catch (Throwable t) {
Canary.logStacktrace("Error while disabling " + plugin.getName(), t);
}
Canary.hooks().callHook(new PluginDisableHook(plugin));
Canary.logInfo("Disabled " + plugin.getName() + ", Version " + plugin.getVersion());
return true;
}