Fix deprecated method use in new test
This commit is contained in:
parent
bde084c14b
commit
22ed9aef9b
1 changed files with 1 additions and 1 deletions
|
|
@ -519,7 +519,7 @@ public class CommandSuggestionsTest {
|
|||
manager.command(
|
||||
manager.commandBuilder("command")
|
||||
.argument(
|
||||
StringArgument.<TestCommandSender>newBuilder("string")
|
||||
StringArgument.<TestCommandSender>builder("string")
|
||||
.greedy()
|
||||
.withSuggestionsProvider((context, input) -> Collections.singletonList("hello world"))
|
||||
.build())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue