What behaviour is expected:
PlayerInteractEvent calling only twice with "RIGHT_CLICK_BLOCK" for main- and off-hand
What behaviour is observed:
After the normal two events, the events is fired again twice but now with "LEFT_CLICK_AIR" when the player is in adventure mode
Steps/models to reproduce:
Listen on PlayerInteractEvent while player is in adventure mode and right-clicking a block. Important: The event has to be setCancelled(true) in a plugin to have the two faulty events getting fired.
Paper version:
git-Paper-386 (MC: 1.16.4)
Anything else:
Problem was already discussed with @MiniDigger in Discord and he stated that the commit 5650a41 with paper version #369 broked it.

What behaviour is expected:
PlayerInteractEvent calling only twice with "RIGHT_CLICK_BLOCK" for main- and off-hand
What behaviour is observed:
After the normal two events, the events is fired again twice but now with "LEFT_CLICK_AIR" when the player is in adventure mode
Steps/models to reproduce:
Listen on PlayerInteractEvent while player is in adventure mode and right-clicking a block. Important: The event has to be setCancelled(true) in a plugin to have the two faulty events getting fired.
Paper version:
git-Paper-386 (MC: 1.16.4)
Anything else:
Problem was already discussed with @MiniDigger in Discord and he stated that the commit 5650a41 with paper version #369 broked it.