mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-20 16:59:41 +00:00
Fix error extracting command label in AsyncTabComplete handler
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user