reword comment

This commit is contained in:
Jason Penilla 2021-12-18 03:48:52 -08:00 committed by Jason
parent e47f54e376
commit d8b6dec80f

View file

@ -42,7 +42,7 @@ final class AsyncCommandSuggestionsListener<C> implements Listener {
@EventHandler @EventHandler
void onTabCompletion(final @NonNull AsyncTabCompleteEvent event) { 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("/") final String strippedBuffer = event.getBuffer().startsWith("/")
? event.getBuffer().substring(1) ? event.getBuffer().substring(1)
: event.getBuffer(); : event.getBuffer();