Fix parsing of flag arguments that start with '-', i.e. a negative integer, add captions for flag argument

This commit is contained in:
jmp 2020-10-12 22:55:38 -07:00 committed by Alexander Söderberg
parent 2fbd90dfee
commit 5f466fcbc0
4 changed files with 151 additions and 12 deletions

View file

@ -182,6 +182,15 @@ public final class MinecraftHelp<C> {
this.colors = colors;
}
/**
* Get the colors used for help messages.
*
* @return The active {@link HelpColors}
*/
public @NonNull HelpColors getHelpColors() {
return this.colors;
}
/**
* Set the length of the header/footer of help menus
* <p>