Don't recommend outdated command builder method (#199)
This commit is contained in:
1 parent
91811a91d9
commit
f3bd2ef529
1 file changed
+1
-1
@@ -112,7 +112,7 @@ Command command = Command.builder(this) // "this" is the extension's main class
|
|||||||
.source(CommandSource.class)
|
.source(CommandSource.class)
|
||||||
.aliases(List.of("example", "ex"))
|
.aliases(List.of("example", "ex"))
|
||||||
.description("An example command")
|
.description("An example command")
|
||||||
.executableOnConsole(false)
|
.isPlayerOnly(false)
|
||||||
.suggestedOpOnly(false)
|
.suggestedOpOnly(false)
|
||||||
.permission("example.command")
|
.permission("example.command")
|
||||||
.executor((source, cmd, args) -> {
|
.executor((source, cmd, args) -> {
|
||||||
|
|||||||
Reference in new issue
Block a user