refactor: Put Fawe version information at debugpaste to (#1533)

This commit is contained in:
Alex
2022-01-12 01:22:24 +01:00
committed by GitHub
parent 6b857b0f58
commit 9e40b972b1
2 changed files with 3 additions and 9 deletions

View File

@ -158,6 +158,9 @@ public class FaweBukkit implements IFawe, Listener {
public String getDebugInfo() {
StringBuilder msg = new StringBuilder();
msg.append("# FastAsyncWorldEdit Information\n");
msg.append(Fawe.instance().getVersion()).append("\n\n");
List<Plugin> plugins = new ArrayList<>();
Collections.addAll(plugins, Bukkit.getServer().getPluginManager().getPlugins());
plugins.sort(Comparator.comparing(Plugin::getName));