Add IncendoPaster

Co-Authored-By: Alexander Söderberg <citymonstret@hotmail.com>
This commit is contained in:
NotMyFault
2019-03-24 23:02:32 +01:00
parent feaf848e26
commit 68c8950cdc
4 changed files with 268 additions and 116 deletions

View File

@ -335,11 +335,11 @@ public class FaweBukkit implements IFawe, Listener {
public String getDebugInfo() {
StringBuilder msg = new StringBuilder();
List<String> pl = new ArrayList<>();
msg.append("server.plugins: \n");
msg.append("server.version: " + Bukkit.getVersion() + " / " + Bukkit.getBukkitVersion() + "\n");
msg.append("Plugins: \n");
for (Plugin p : Bukkit.getPluginManager().getPlugins()) {
msg.append(" - " + p.getName() + ": " + p.getDescription().getVersion() + "\n");
}
msg.append("server.version: " + Bukkit.getVersion() + " / " + Bukkit.getBukkitVersion() + "\n");
return msg.toString();
}