SPIGOT-5572: Fix console/API completion of Vanilla commands

This commit is contained in:
md_5 2020-02-11 12:03:36 +11:00
parent 880190573c
commit d171d7eb8e

View File

@ -91,6 +91,6 @@ public final class VanillaCommandWrapper extends BukkitCommand {
}
private String toDispatcher(String[] args, String name) {
return "/" + name + ((args.length > 0) ? " " + Joiner.on(' ').join(args) : "");
return name + ((args.length > 0) ? " " + Joiner.on(' ').join(args) : "");
}
}