Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Audience#filterAudience(Predicate) docs #474

Merged
merged 3 commits into from
Dec 11, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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