Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
Fix Sponge tab-complete again
Dieser Commit ist enthalten in:
Ursprung
9ac3110d3e
Commit
c4eedca28b
@ -27,7 +27,7 @@ public class SpongeCommandHandler extends ViaCommandHandler implements CommandCa
|
|||||||
}
|
}
|
||||||
|
|
||||||
public List<String> getSuggestions(CommandSource source, String arguments) throws CommandException {
|
public List<String> getSuggestions(CommandSource source, String arguments) throws CommandException {
|
||||||
String[] args = arguments.split(" "); // ViaCommandHandler handles empty String in array
|
String[] args = arguments.split(" ", -1); // ViaCommandHandler handles empty String in array. -1: do not discard empty strings
|
||||||
return onTabComplete(new SpongeCommandSender(source), args);
|
return onTabComplete(new SpongeCommandSender(source), args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren