fixed my bug in miniplugin

This commit is contained in:
Chiss 2014-12-23 11:29:48 +11:00
parent 71cf8e8fd2
commit 825b25e8d1

View File

@ -50,7 +50,7 @@ public abstract class MiniPlugin implements Listener
public void RegisterEvents(Listener listener) public void RegisterEvents(Listener listener)
{ {
_plugin.getServer().getPluginManager().registerEvents(this, _plugin); _plugin.getServer().getPluginManager().registerEvents(listener, _plugin);
} }
public void RegisterSelf() public void RegisterSelf()