mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-01-26 10:01:56 +01:00
Added uppercase first letter on the help menu
This commit is contained in:
parent
dd5e1edfad
commit
85525709c4
@ -57,6 +57,7 @@ public class CommandWithSubCommands implements CommandTemplate {
|
||||
return;
|
||||
}
|
||||
}
|
||||
commandExecuted = commandExecuted.substring(0,1).toUpperCase() + commandExecuted.substring(1).toLowerCase();
|
||||
sender.sendMessage(Lang.translateInsertVariablesColor("command.help.header", commandExecuted, helpPage, pages));
|
||||
int subCommandOffset = (helpPage - 1) * this.subCommandsPerPage;
|
||||
int displayEnd = subCommandOffset + this.subCommandsPerPage;
|
||||
|
Loading…
Reference in New Issue
Block a user