Implement velocity module (#151)

Co-authored-by: jmp <[email protected]>
This commit is contained in:
Joshandjmp authored and GitHub committed 2021-05-28 16:41:06 -07:00
1 parent eb7ec4353f
commit e402ef2e70
26 files changed
+702 -28

No files matched your search

@@ -5,8 +5,10 @@ import net.kyori.event.EventSubscriber;
import org.checkerframework.checker.nullness.qual.NonNull;
record EventSubscriberImpl<T extends CarbonEvent>(Consumer<T> consumer, int postOrder, boolean acceptsCancelled) implements EventSubscriber<T> {
@Override
public void on(final @NonNull T event) {
this.consumer.accept(event);
}
}