ClientCommands
ClientCommands copied to clipboard
StringArgumentType.greedyString()
I want to have two custom Strings that can be typed and include symbols. So I am doing:
.then(ArgumentBuilders.argument("stringWithSymbol", StringArgumentType.greedyString())
(greedyString allows symbols) but the String never ends ingame and I want to have a String after this.
Any idea for fixing this?
greedyString is greedy by definition: it captures everything until the end of the command. You'll most likely want string in this case.