SteamWar/SpigotCore
Archiviert
13
0

Uppercase first Char in help message
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Chaoscaot 2022-08-21 18:25:54 +02:00
Ursprung d9273a8667
Commit 76f07f13fe

Datei anzeigen

@ -107,7 +107,7 @@ public class SWCommand extends AbstractSWCommand<CommandSender> {
return; return;
} }
try { 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)); defaultHelpMessages.forEach(s -> message.sendPrefixless(s, p));
} catch (Exception e) { } catch (Exception e) {
Bukkit.getLogger().log(Level.WARNING, "Failed to send help message", e); Bukkit.getLogger().log(Level.WARNING, "Failed to send help message", e);