mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-21 15:41:38 +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);
|
||||
}
|
||||
|
||||
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,
|
||||
@NotNull Class<H> handlerType,
|
||||
@NotNull Function<E, H> handlerGetter) {
|
||||
|
Loading…
Reference in New Issue
Block a user