Update SWCommand.internalHelp
Dieser Commit ist enthalten in:
Ursprung
22e86872b2
Commit
8949062c83
@ -216,9 +216,14 @@ public abstract class SWCommand {
|
||||
help.add(st.toString());
|
||||
});
|
||||
}
|
||||
String string = "/" + command.getName() + " " + String.join(" ", args);
|
||||
sender.sendMessage("§7----==== §e" + command.getName() + " §7====----");
|
||||
sender.sendMessage("§7Aliases§8:§e " + String.join("§8,§e ", command.getAliases()));
|
||||
help.forEach(sender::sendMessage);
|
||||
help.forEach(s -> {
|
||||
if (s.replaceAll("§[0-9A-Z]", "").startsWith(string)) {
|
||||
sender.sendMessage(s);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren