#816: Prevent duplicate slash removal for console / block commands

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2021-05-17 18:09:13 +10:00
parent 4fd4ece94b
commit fac154e1cd
2 changed files with 16 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ public final class VanillaCommandWrapper extends BukkitCommand {
if (!testPermission(sender)) return true;
CommandListenerWrapper icommandlistener = getListener(sender);
dispatcher.a(icommandlistener, toDispatcher(args, getName()), toDispatcher(args, commandLabel));
dispatcher.a(icommandlistener, toDispatcher(args, getName()), toDispatcher(args, commandLabel), true);
return true;
}