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:
lever1209 2021-12-07 16:01:12 -04:00
commit 7a57e8a39d
No known key found for this signature in database
GPG key ID: EEBCBB60C9DFC782
14 changed files with 298 additions and 103 deletions

View file

@ -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;
}
}