Update EventHandler.java

This commit is contained in:
Zaxar163 2018-10-18 16:34:37 +03:00 committed by Gravit
parent 01fdbdf305
commit 3013e88103

View file

@ -1,6 +1,6 @@
package ru.gravit.utils.event; package ru.gravit.utils.event;
@FunctionalInterface @FunctionalInterface
public interface EventHandler { public interface EventHandler<T extends EventInterface> {
void run(EventInterface event); void run(T event);
} }