Fix SWCommand add HelpRegisters
Dieser Commit ist enthalten in:
Ursprung
c9e8b31aa4
Commit
501803b05c
@ -90,7 +90,7 @@ public abstract class SWCommand {
|
||||
addMapper(ClassMapper.class, method, i -> i == 0, false, TypeMapper.class, (anno, typeMapper) -> {
|
||||
SWCommandUtils.addMapper(anno.value().getTypeName(), typeMapper);
|
||||
});
|
||||
add(Register.class, method, i -> i > 2, true, null, (anno, parameters) -> {
|
||||
add(Register.class, method, i -> i > 0, true, null, (anno, parameters) -> {
|
||||
if (!anno.help()) {
|
||||
return;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren