brigadier: Use StringArgumentType.word() as fallback

`StringArgumentType.string()` is quoted mode.
This commit is contained in:
jmp 2021-04-23 02:25:19 -07:00 committed by Jason
parent 2a4c29267c
commit 09fac7734e

View file

@ -418,7 +418,7 @@ public final class CloudBrigadierManager<C, S> {
if (defaultType != null) { if (defaultType != null) {
return Pair.of(argumentTypeSupplier.get(), null); return Pair.of(argumentTypeSupplier.get(), null);
} }
return Pair.of(StringArgumentType.string(), delegateSuggestions()); return Pair.of(StringArgumentType.word(), delegateSuggestions());
} }
/** /**