-
Bug
-
Resolution: Invalid
-
Minor
-
None
-
None
-
The bug is reproduced in all environments
-
CraftBukkit version 3904-Spigot-224dad5-1bf30a4 (MC: 1.20.2) (Implementing API version 1.20.2-R0.1-SNAPSHOT)
-
Yes
When the player right click while looking at an entity (cow for example) and holding an ender pearl, the PlayerInteractEvent is triggered launching the ender pearl even after cancelling PlayerInteractEntityEvent.
The problem consists of calling two different events for the same action, and these events are not correlated. Therefore, it is not possible to cancel the entire player action at once.