Reorder debugpaste information
This commit is contained in:
parent
28e2537aaa
commit
b39b388645
@ -348,11 +348,11 @@ public class FaweBukkit implements IFawe, Listener {
|
|||||||
public String getDebugInfo() {
|
public String getDebugInfo() {
|
||||||
StringBuilder msg = new StringBuilder();
|
StringBuilder msg = new StringBuilder();
|
||||||
List<String> pl = new ArrayList<>();
|
List<String> pl = new ArrayList<>();
|
||||||
|
msg.append("server.version: " + Bukkit.getVersion() + " / " + Bukkit.getBukkitVersion() + "\n");
|
||||||
msg.append("server.plugins: \n");
|
msg.append("server.plugins: \n");
|
||||||
for (Plugin p : Bukkit.getPluginManager().getPlugins()) {
|
for (Plugin p : Bukkit.getPluginManager().getPlugins()) {
|
||||||
msg.append(" - " + p.getName() + ": " + p.getDescription().getVersion() + "\n");
|
msg.append(" - " + p.getName() + ": " + p.getDescription().getVersion() + "\n");
|
||||||
}
|
}
|
||||||
msg.append("server.version: " + Bukkit.getVersion() + " / " + Bukkit.getBukkitVersion() + "\n");
|
|
||||||
return msg.toString();
|
return msg.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,7 +194,6 @@ public final class IncendoPaster {
|
|||||||
"# Welcome to this paste\n# It is meant to provide us at IntellectualSites with better information about your "
|
"# Welcome to this paste\n# It is meant to provide us at IntellectualSites with better information about your "
|
||||||
+ "problem\n");
|
+ "problem\n");
|
||||||
b.append("\n# Server Information\n");
|
b.append("\n# Server Information\n");
|
||||||
b.append("server.platform: ").append(Fawe.imp().getPlatform()).append('\n');
|
|
||||||
b.append(Fawe.imp().getDebugInfo()).append('\n');
|
b.append(Fawe.imp().getDebugInfo()).append('\n');
|
||||||
b.append("\n\n# YAY! Now, let's see what we can find in your JVM\n");
|
b.append("\n\n# YAY! Now, let's see what we can find in your JVM\n");
|
||||||
Runtime runtime = Runtime.getRuntime();
|
Runtime runtime = Runtime.getRuntime();
|
||||||
|
Loading…
Reference in New Issue
Block a user