Fix deprecated method use in new test

This commit is contained in:
Jason Penilla 2022-12-13 09:31:41 -07:00 committed by Jason
parent bde084c14b
commit 22ed9aef9b

View file

@ -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())