mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2025-02-22 14:41:57 +01:00
Fix Sponge tab-complete again
This commit is contained in:
parent
9ac3110d3e
commit
c4eedca28b
@ -27,7 +27,7 @@ public class SpongeCommandHandler extends ViaCommandHandler implements CommandCa
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user