When you do a event.setCancelled(),
Door opening and closing events should be canceled when right-clicking on any part of the door.
Actual Behavior
If you right-click the upper part of the door, the event is not canceled.
but, if you right-click at the bottom of the door, the event is canceled normally.
Steps to Reproduce
Create a PlayerInteractEvent Listener.
Do a event.setCancelled() anywhere in the event.
Right-click the upper part of the door to open or close it.
Expected Behavior
When you do a event.setCancelled(), Door opening and closing events should be canceled when right-clicking on any part of the door.
Actual Behavior
If you right-click the upper part of the door, the event is not canceled. but, if you right-click at the bottom of the door, the event is canceled normally.
Steps to Reproduce
Debug information
Crashdump, Backtrace or Other Files
https://imgur.com/a/hIKzRiT
Checklist:
/debugpaste
link