mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-09-09 12:38:01 +02:00
Check for an empty buffer in async tab complete handler (#1949)
This commit is contained in:
parent
c39a44c3ac
commit
e9d72df890
@ -54,6 +54,10 @@ public class BukkitAsyncCommandExecutor extends BukkitCommandExecutor implements
|
||||
}
|
||||
|
||||
String buffer = e.getBuffer();
|
||||
if (buffer.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (buffer.charAt(0) == '/') {
|
||||
buffer = buffer.substring(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user