mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-09 12:38:01 +02: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
String commandLabel = buffer.substring(1, firstSpace);
|
String commandLabel = buffer.substring(0, firstSpace);
|
||||||
Command command = this.plugin.getBootstrap().getServer().getCommandMap().getCommand(commandLabel);
|
Command command = this.plugin.getBootstrap().getServer().getCommandMap().getCommand(commandLabel);
|
||||||
if (command != this.command) {
|
if (command != this.command) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user