mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-10-06 11:37:50 +02:00
Added uppercase first letter on the help menu
This commit is contained in:
parent
d7b1818b12
commit
cefae0db89
@ -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