Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Nicer wiki perms table.
Dieser Commit ist enthalten in:
Ursprung
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)) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren