13
0
geforkt von Mirrors/Paper

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

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2020-02-11 12:03:36 +11:00
Ursprung 416eb5c343
Commit e714c00b96

Datei anzeigen

@ -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) : "");
}
}