mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-21 23:51:36 +01:00
Remove unnecessary method
This commit is contained in:
parent
7aee717196
commit
e670a0a40d
@ -31,10 +31,6 @@ public interface EventNode<T extends Event> {
|
|||||||
return new EventNodeList<>(filter);
|
return new EventNodeList<>(filter);
|
||||||
}
|
}
|
||||||
|
|
||||||
static <E extends Event, H extends EventHandler> EventNodeList<E, H> list(@NotNull Class<E> eventType, EventFilter<? super E, H> parser) {
|
|
||||||
return (EventNodeList<E, H>) list(parser);
|
|
||||||
}
|
|
||||||
|
|
||||||
static <E extends Event, H extends EventHandler> EventNodeList<E, H> list(@NotNull Class<E> eventType,
|
static <E extends Event, H extends EventHandler> EventNodeList<E, H> list(@NotNull Class<E> eventType,
|
||||||
@NotNull Class<H> handlerType,
|
@NotNull Class<H> handlerType,
|
||||||
@NotNull Function<E, H> handlerGetter) {
|
@NotNull Function<E, H> handlerGetter) {
|
||||||
|
Loading…
Reference in New Issue
Block a user