mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-08 20:09:59 +01:00
Fix error extracting command label in AsyncTabComplete handler
This commit is contained in:
parent
abad672bef
commit
a050a2604f
@ -63,7 +63,7 @@ public class BukkitAsyncCommandExecutor extends BukkitCommandExecutor implements
|
||||
return;
|
||||
}
|
||||
|
||||
String commandLabel = buffer.substring(1, firstSpace);
|
||||
String commandLabel = buffer.substring(0, firstSpace);
|
||||
Command command = this.plugin.getBootstrap().getServer().getCommandMap().getCommand(commandLabel);
|
||||
if (command != this.command) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user