-
Notifications
You must be signed in to change notification settings - Fork 375
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
events.playerInteract not firing when right clicking air #256
Comments
I've learned a lot about the Bukkit API since opening this, and I managed to write my own version of your events.on function which does not have this issue:
Seems like the trick was your version was passing |
events.playerInteract doesn't seem to fire when right clicking air, despite bukkit behaving like this by default.
I am aware the client does not send any packets when right clicking air while not holding anything, but it doesn't fire despite holding items.
EDIT: May be related to the fact playerInteractEvent is cancelled by default, should still allow us to do stuff with it. I'm not a java developer, so I wouldn't know.
The text was updated successfully, but these errors were encountered: