reword comment
This commit is contained in:
parent
e47f54e376
commit
d8b6dec80f
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ final class AsyncCommandSuggestionsListener<C> implements Listener {
|
|||
|
||||
@EventHandler
|
||||
void onTabCompletion(final @NonNull AsyncTabCompleteEvent event) {
|
||||
/* Turn '(/)plugin:command arg1 arg2 ...' into 'plugin:command arg1 arg2 ...' */
|
||||
// Strip leading slash
|
||||
final String strippedBuffer = event.getBuffer().startsWith("/")
|
||||
? event.getBuffer().substring(1)
|
||||
: event.getBuffer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue