mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
Update EventHandler.java
This commit is contained in:
parent
01fdbdf305
commit
3013e88103
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue