You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Features
EventBuilder<T extends Event>#executeIfElse(Predicate<T>,Consumer<T>,Consumer<T>)
First consumer will be accepted if the predicate tests true, else the second consumer will be accepted.
EventBuilder<T extends Event>#filter(Predicate<T>,Consumer<T>)
If predicate tests false, code execution will be stopped but the consumer will be accepted.
Fixes
Updating registered status when invoking EventHandler<T extends Event>#register(Plugin).
Consumer in EventBuilder<T extends Event>#filter(Predicate<T>,Consumer<T>) was accepting when the predicate was testing true.