brigadier: Use StringArgumentType.word() as fallback
`StringArgumentType.string()` is quoted mode.
This commit is contained in:
parent
2a4c29267c
commit
09fac7734e
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue