[SPIGOT-410] PlayerInteract Event doesn't fire when right clicking air with an empty hand Created: 12/Jan/15  Updated: 12/Jan/15  Resolved: 12/Jan/15

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

Type: Bug Priority: Minor
Reporter: Michael Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: PlayerInteractEvent, bug, event
Environment:

Windows 7
Java 7
Spigot Build: git-Spigot-1.7.9-R0.2-208-ge0f2e95



 Description   

Title explains it all. A PlayerInteractEvent is not created and fired when a player right clicks air with an empty hand. I have performed proper checks to make sure the event fires under every other circumstance properly, besides this situation. If this has been fixed in a recent update, my apologies.

If this is intentional, I apologize, but I think that there should be a PlayerInteractEvent firing when someone right clicks air with an empty hand.



 Comments   
Comment by Thinkofname [ 12/Jan/15 ]

Nope the client doesn't, can't fix until Mojang adds a way to detect it

Comment by md_5 [ 12/Jan/15 ]

There is a very good chance the client doesn't send any packet when this happens. We'll check anyway.

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