mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-10 20:59:54 +01:00
SPIGOT-5572: Fix console/API completion of Vanilla commands
This commit is contained in:
parent
880190573c
commit
d171d7eb8e
@ -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) : "");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user