Dump full version output in multifile pastes.

This commit is contained in:
Jeremy Wood 2020-10-07 23:52:43 -04:00
parent 78bf6ba3bf
commit 115b0dc078
1 changed files with 4 additions and 1 deletions

View File

@ -109,7 +109,8 @@ public class VersionCommand extends MultiverseCommand {
event.appendVersionInfo(this.getLegacyString());
// add the legacy file, but as markdown so it's readable
event.putDetailedVersionInfo("version.md", this.getMarkdownString());
// TODO Readd this in 5.0.0
// event.putDetailedVersionInfo("version.md", this.getMarkdownString());
// add config.yml
File configFile = new File(this.plugin.getDataFolder(), "config.yml");
@ -138,6 +139,8 @@ public class VersionCommand extends MultiverseCommand {
}
final String versionInfo = versionEvent.getVersionInfo();
versionEvent.putDetailedVersionInfo("version.txt", versionInfo);
final Map<String, String> files = versionEvent.getDetailedVersionInfo();
// log to console