From 3c55c1680e775bfa1e0545f0f62d9235c833653a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 3 Jan 2022 00:46:14 +0100 Subject: [PATCH] Improve CommandFramework Exception readability --- SpigotCore_Main/src/de/steamwar/command/SWCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java index 35ce8f9..6d58c5b 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -103,7 +103,7 @@ public abstract class SWCommand { // Ignored } catch (CommandFrameworkException e) { if (Bukkit.getServer() != null) { - Bukkit.getLogger().log(Level.SEVERE, e.getBuildStackTrace()); + Bukkit.getLogger().log(Level.SEVERE, "", e); } throw e; }