Releases: conclube/EventBuilder
Releases · conclube/EventBuilder
Minor Update
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.