Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2012-01-19 08:13:49 +01:00
parent 0c50b9eeb1
commit 84372f7cd5
5 changed files with 16 additions and 7 deletions

View File

@@ -52,6 +52,7 @@ public interface PluginLoader {
* @param type Type of the event executor to create
* @param listener the object that will handle the eventual call back
* @return The new executor
* @deprecated see PluginLoader#createRegisteredListeners
*/
@Deprecated
public EventExecutor createExecutor(Event.Type type, Listener listener);