some sheeet
added a lock and finished the broken half created command manager (for now) Signed-off-by: deepCurse <leverplays@gmail.com>
This commit is contained in:
parent
153e76b3e0
commit
7a57e8a39d
14 changed files with 298 additions and 103 deletions
|
@ -27,6 +27,7 @@ public class Argument {
|
|||
private boolean autoStartRunnable = false;
|
||||
private boolean skipOriginalTaskOnRunnable = false;
|
||||
private RunnableArg runnableArg = null;
|
||||
private String permissionLevel;
|
||||
|
||||
public static final String argumentPrefix = "-"; // This exists for the sole reason of customization and will
|
||||
// generally not change, ever, its recommended you keep it to
|
||||
|
@ -183,4 +184,13 @@ public class Argument {
|
|||
return runnableArg;
|
||||
}
|
||||
|
||||
public Argument setPermissionLevel(String string) {
|
||||
this.permissionLevel = string;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getPermission() {
|
||||
return this.permissionLevel;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue