fixed my bug in miniplugin
This commit is contained in:
parent
71cf8e8fd2
commit
825b25e8d1
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user