This commit is contained in:
parent
930ce3ff46
commit
03c41c7835
3 changed files with 6 additions and 2 deletions
|
|
@ -5,6 +5,10 @@ import de.kentoj.kencommandapi.api.suggestion.SuggestionProvider;
|
|||
|
||||
public record StringArgumentType<T>(boolean greedy) implements ArgumentType<T, String> {
|
||||
|
||||
public StringArgumentType() {
|
||||
this(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String parseInputUnchecked(String string) {
|
||||
return string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue