From b39b388645a204537ad59db588a2533285db1748 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Fri, 1 Mar 2019 00:39:36 +0100 Subject: [PATCH] Reorder debugpaste information --- bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java | 2 +- core/src/main/java/com/boydti/fawe/util/IncendoPaster.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java b/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java index 5daf09a6..a1e4b84b 100644 --- a/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java +++ b/bukkit/src/main/java/com/boydti/fawe/bukkit/FaweBukkit.java @@ -348,11 +348,11 @@ public class FaweBukkit implements IFawe, Listener { public String getDebugInfo() { StringBuilder msg = new StringBuilder(); List pl = new ArrayList<>(); + msg.append("server.version: " + Bukkit.getVersion() + " / " + Bukkit.getBukkitVersion() + "\n"); msg.append("server.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(); } diff --git a/core/src/main/java/com/boydti/fawe/util/IncendoPaster.java b/core/src/main/java/com/boydti/fawe/util/IncendoPaster.java index 1038a1a1..c88449f5 100644 --- a/core/src/main/java/com/boydti/fawe/util/IncendoPaster.java +++ b/core/src/main/java/com/boydti/fawe/util/IncendoPaster.java @@ -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 " + "problem\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("\n\n# YAY! Now, let's see what we can find in your JVM\n"); Runtime runtime = Runtime.getRuntime();