parent
c036e38f37
commit
8bc648ec29
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ exports.on = function(
|
||||||
The workaround is to make the ScriptCraftPlugin java class a Listener.
|
The workaround is to make the ScriptCraftPlugin java class a Listener.
|
||||||
Should only unregister() registered plugins in ScriptCraft js code.
|
Should only unregister() registered plugins in ScriptCraft js code.
|
||||||
*/
|
*/
|
||||||
regd = new bkRegisteredListener( __plugin, eventExecutor, priority, __plugin, true );
|
regd = new bkRegisteredListener( __plugin, eventExecutor, priority, __plugin, false );
|
||||||
handlerList.register( regd );
|
handlerList.register( regd );
|
||||||
result.unregister = function(){
|
result.unregister = function(){
|
||||||
handlerList.unregister( regd );
|
handlerList.unregister( regd );
|
||||||
|
|
Reference in a new issue