From 76f07f13feb5e0c5b7369fa4eef8ad5e9c3ab0b8 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Sun, 21 Aug 2022 18:25:54 +0200 Subject: [PATCH] Uppercase first Char in help message --- 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 5513709..2c5c433 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -107,7 +107,7 @@ public class SWCommand extends AbstractSWCommand { return; } try { - message.sendPrefixless("COMMAND_HELP_HEAD", p, command.getName()); + message.sendPrefixless("COMMAND_HELP_HEAD", p, command.getName().substring(0, 1).toUpperCase() + command.getName().substring(1)); defaultHelpMessages.forEach(s -> message.sendPrefixless(s, p)); } catch (Exception e) { Bukkit.getLogger().log(Level.WARNING, "Failed to send help message", e);