Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-04 18:40:06 +01:00
fix tabcomplete for brushes and possible many other commands
Dieser Commit ist enthalten in:
Ursprung
6d45169d9d
Commit
b5f41501e4
@ -850,7 +850,7 @@ public final class PlatformCommandManager {
|
|||||||
|
|
||||||
event.setSuggestions(suggestions.stream()
|
event.setSuggestions(suggestions.stream()
|
||||||
.map(suggestion -> {
|
.map(suggestion -> {
|
||||||
int noSlashLength = arguments.length() - 1;
|
int noSlashLength = arguments.length();
|
||||||
Substring original = suggestion.getReplacedArgument() == split.size()
|
Substring original = suggestion.getReplacedArgument() == split.size()
|
||||||
? Substring.from(arguments, noSlashLength, noSlashLength)
|
? Substring.from(arguments, noSlashLength, noSlashLength)
|
||||||
: split.get(suggestion.getReplacedArgument());
|
: split.get(suggestion.getReplacedArgument());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren