Skip to content

Commit 961a5d1

Browse files
committed
1.1 - Update SubCommand.java
1 parent bcfddd9 commit 961a5d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/me/croabeast/command/SubCommand.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* @see Command
3636
* @see CommandPredicate
3737
*/
38-
@Getter
38+
@Getter @Setter
3939
public class SubCommand implements BaseCommand {
4040

4141
/**
@@ -50,7 +50,7 @@ public class SubCommand implements BaseCommand {
5050
* and the sub-command's primary name.
5151
* </p>
5252
*/
53-
private final String permission;
53+
private String permission;
5454

5555
/**
5656
* The parent command to which this sub-command belongs.
@@ -65,7 +65,6 @@ public class SubCommand implements BaseCommand {
6565
/**
6666
* The executable action to be performed when the sub-command is invoked.
6767
*/
68-
@Setter
6968
private CommandPredicate predicate = null;
7069

7170
/**

0 commit comments

Comments
 (0)