From eb41edb2bfa51175e0992ecc1961440b8a24a4cd Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 5 Jun 2021 17:07:59 +0200 Subject: [PATCH] Removing Message reflections --- 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 2f942c2..33f9974 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -224,7 +224,7 @@ public abstract class SWCommand { st.append("§7..."); } if (!subCommand.description.isEmpty()) { - st.append("§8 - §7").append(message.parse(subCommand.description, sender)); + st.append("§8 - §7").append(message != null ? message.parse(subCommand.description, sender) : subCommand.description); } help.add(st.toString()); });