mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Added new EventExecutor, missed in last commit
By: stevenh <steven.hartland@multiplay.co.uk>
This commit is contained in:
parent
6f4cf0388b
commit
0ab994ec78
1 changed files with 12 additions and 0 deletions
12
paper-api/src/main/java/org/bukkit/plugin/EventExecutor.java
Normal file
12
paper-api/src/main/java/org/bukkit/plugin/EventExecutor.java
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
|
||||||
|
package org.bukkit.plugin;
|
||||||
|
|
||||||
|
import org.bukkit.event.Event;
|
||||||
|
import org.bukkit.event.Listener;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Interface which defines the class for event call backs to plugins
|
||||||
|
*/
|
||||||
|
public interface EventExecutor {
|
||||||
|
public void execute( Listener listener, Event event );
|
||||||
|
}
|
Loading…
Reference in a new issue