Dieser Commit ist enthalten in:
Ursprung
b3b3657463
Commit
0e993d8f3e
@ -86,7 +86,7 @@ class SubCommand {
|
||||
name = mapper.value();
|
||||
} else {
|
||||
SWCommand.StaticValue staticValue = parameter.getAnnotation(SWCommand.StaticValue.class);
|
||||
if (parameter.getType() == String.class) {
|
||||
if (staticValue != null && parameter.getType() == String.class) {
|
||||
arguments[i - 1] = SWCommandUtils.createMapper(staticValue.value());
|
||||
guards[i - 1] = getGuardChecker(parameter, localGuardChecker);
|
||||
continue;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren