Dieser Commit ist enthalten in:
Ursprung
86ef8e2773
Commit
2bc15adfda
@ -44,6 +44,9 @@ public class CommandPart {
|
||||
private CommandPart next = null;
|
||||
|
||||
public CommandPart(TypeMapper<?> typeMapper, GuardChecker guard, Class<?> varArgType, String optional, GuardCheckType guardCheckType) {
|
||||
if (guardCheckType == GuardCheckType.TAB_COMPLETE) {
|
||||
throw new IllegalArgumentException("Tab complete is not allowed as a guard check type!");
|
||||
}
|
||||
this.typeMapper = typeMapper;
|
||||
this.guard = guard;
|
||||
if (optional != null && varArgType != null) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren