We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcfddd9 commit 961a5d1Copy full SHA for 961a5d1
src/main/java/me/croabeast/command/SubCommand.java
@@ -35,7 +35,7 @@
35
* @see Command
36
* @see CommandPredicate
37
*/
38
-@Getter
+@Getter @Setter
39
public class SubCommand implements BaseCommand {
40
41
/**
@@ -50,7 +50,7 @@ public class SubCommand implements BaseCommand {
50
* and the sub-command's primary name.
51
* </p>
52
53
- private final String permission;
+ private String permission;
54
55
56
* The parent command to which this sub-command belongs.
@@ -65,7 +65,6 @@ public class SubCommand implements BaseCommand {
65
66
* The executable action to be performed when the sub-command is invoked.
67
68
- @Setter
69
private CommandPredicate predicate = null;
70
71
0 commit comments