[SPIGOT-1201] PlayerInteractEvent is not fired on right click air or right click block. Tested with multiple plugins. Have noticed this on latest versions of Spigot. Created: 24/Sep/15  Updated: 26/Sep/15  Resolved: 26/Sep/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: TheeNinja Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: 1.8.8, spigot
Environment:

Tested in a server environment with the tested plugin being the only plugin on the server, server is spigot, not paperspigot. No errors in console or warnings.


Plugin: Various custom plugins.

 Description   

No errors in console or warnings.

PlayerInteractEvent is not fired on right click air or right click blocks. This seems to be occuring in the newer versions of spigot. No events are being cancelled/are cancelling another event in the plugins I have tested this issue with.

Way to reproduce:
Create a plugin using the player interact event that depends on a right click action.
> PlayerInteractEvent isn't called.

https://www.spigotmc.org/threads/playerinteractevent-troubles-with-event.93749 is the original issue, tested with multiple plugins after this.



 Comments   
Comment by TheeNinja [ 24/Sep/15 ]

Ah I never thought of that, yes that was the problem. Thank you for your extremely clear questions.

Comment by iPyronic [ 24/Sep/15 ]

Question 1: While you tested, were you an OP? If not, see question 2.
Question 2: Where did you test? Non-ops cannot interact via right-click in the default spawn area defined by the spawn-protection setting in your server.properties file. This setting defaults to 16, and can be disabled by setting it to 0.

Generated at Sat Dec 13 20:49:59 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.