Skip to content

Commit

Permalink
Merge pull request #474 from Foorcee/filter
Browse files Browse the repository at this point in the history
Clarify Audience#filterAudience(Predicate) docs
  • Loading branch information
zml2008 authored Dec 11, 2021
2 parents bbc26f6 + 55cdc61 commit e4205ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/main/java/net/kyori/adventure/audience/Audience.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ public interface Audience extends Pointered {
* If they do, they <em>may</em> test themselves against the provided {@code filter} first, and if the test fails return an empty audience skipping any contained children.
* If they do not, they <em>must not</em> test themselves against the filter, only testing their children.</p>
*
* @param filter the filter
* @param filter a filter that determines if an audience should be included
* @return an audience providing a snapshot of all audiences that match the predicate when this method is invoked
* @since 4.9.0
*/
default @NotNull Audience filterAudience(final @NotNull Predicate<? super Audience> filter) {
Expand Down

0 comments on commit e4205ba

Please sign in to comment.