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.command(
|
||||||
manager.commandBuilder("command")
|
manager.commandBuilder("command")
|
||||||
.argument(
|
.argument(
|
||||||
StringArgument.<TestCommandSender>newBuilder("string")
|
StringArgument.<TestCommandSender>builder("string")
|
||||||
.greedy()
|
.greedy()
|
||||||
.withSuggestionsProvider((context, input) -> Collections.singletonList("hello world"))
|
.withSuggestionsProvider((context, input) -> Collections.singletonList("hello world"))
|
||||||
.build())
|
.build())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue