3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

fix tabcomplete for brushes and possible many other commands

Dieser Commit ist enthalten in:
wea_ondara 2020-10-11 13:28:47 +02:00 committet von Aurora
Ursprung 6d45169d9d
Commit b5f41501e4

Datei anzeigen

@ -850,7 +850,7 @@ public final class PlatformCommandManager {
event.setSuggestions(suggestions.stream()
.map(suggestion -> {
int noSlashLength = arguments.length() - 1;
int noSlashLength = arguments.length();
Substring original = suggestion.getReplacedArgument() == split.size()
? Substring.from(arguments, noSlashLength, noSlashLength)
: split.get(suggestion.getReplacedArgument());