Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlayerInteractEvent with air #287

Closed
tjhgit opened this issue Feb 23, 2016 · 1 comment
Closed

PlayerInteractEvent with air #287

tjhgit opened this issue Feb 23, 2016 · 1 comment

Comments

@tjhgit
Copy link

tjhgit commented Feb 23, 2016

am trying to catch an event when the player interacts with air:

var evt1 = org.bukkit.event.player.PlayerInteractEvent;
events.on(evt1,my_evt_handler);

I found how to solve this:

in lib/events-bukkit.js

change this line:
regd = new bkRegisteredListener( __plugin, eventExecutor, priority, __plugin, true );

to:
regd = new bkRegisteredListener( __plugin, eventExecutor, priority, __plugin, false );

Does this make sense to you? Then please change this on github.

See also:
#256

@walterhiggins
Copy link
Owner

Will be fixed in the next release.

walterhiggins added a commit that referenced this issue Mar 19, 2016
walterhiggins added a commit that referenced this issue Mar 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants