From 0ab994ec7826454112b577b38695b833b98f4265 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 29 Jan 2011 21:18:47 +0000 Subject: [PATCH] Added new EventExecutor, missed in last commit By: stevenh --- .../main/java/org/bukkit/plugin/EventExecutor.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 paper-api/src/main/java/org/bukkit/plugin/EventExecutor.java diff --git a/paper-api/src/main/java/org/bukkit/plugin/EventExecutor.java b/paper-api/src/main/java/org/bukkit/plugin/EventExecutor.java new file mode 100644 index 0000000000..ecbdfb7ca0 --- /dev/null +++ b/paper-api/src/main/java/org/bukkit/plugin/EventExecutor.java @@ -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 ); +} \ No newline at end of file