mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-20 02:45:00 +00:00
Nicer wiki perms table.
This commit is contained in:
parent
903abc80a4
commit
9e6a2ccf4d
@ -137,6 +137,29 @@ public class DocumentationPrinter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stream.print(" || ");
|
||||||
|
|
||||||
|
boolean firstAlias = true;
|
||||||
|
if (cmd.aliases().length != 0) {
|
||||||
|
for (String alias : cmd.aliases()) {
|
||||||
|
if (!firstAlias) stream.print("<br />");
|
||||||
|
stream.print(prefix + alias);
|
||||||
|
firstAlias = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stream.print(" || ");
|
||||||
|
|
||||||
|
if (cmd.flags() != null && !cmd.flags().equals("")) {
|
||||||
|
stream.print(cmd.flags());
|
||||||
|
}
|
||||||
|
|
||||||
|
stream.print(" || ");
|
||||||
|
|
||||||
|
if (cmd.desc() != null && !cmd.desc().equals("")) {
|
||||||
|
stream.print(cmd.desc());
|
||||||
|
}
|
||||||
|
|
||||||
stream.println();
|
stream.println();
|
||||||
|
|
||||||
if (method.isAnnotationPresent(NestedCommand.class)) {
|
if (method.isAnnotationPresent(NestedCommand.class)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user