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)
|
||||
.aliases(List.of("example", "ex"))
|
||||
.description("An example command")
|
||||
.executableOnConsole(false)
|
||||
.isPlayerOnly(false)
|
||||
.suggestedOpOnly(false)
|
||||
.permission("example.command")
|
||||
.executor((source, cmd, args) -> {
|
||||
|
||||
Reference in new issue
Block a user