[SPIGOT-2402] Door seems to be open after cancelling PlayerInteractEvent Created: 12/Jun/16  Updated: 12/Jun/16  Resolved: 12/Jun/16

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

Type: Bug Priority: Minor
Reporter: Florian Friesenegger Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: playerinteractevent


 Description   

I used the PlayerInteractEvent to detect if a player right-clicks a door and, if so, to
cancel the Event.
When the lower half of the door is clicked, it all works well, but when the upper half
is clicked, the door seems to be open, even if it is closed (you can't pass trough it).

A related problem occurs if I use the BlockBreakEvent to prevent players from breaking doors:
The half of the door I try to break reappears but the other half doesn't.


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