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