PlayerInteractEvent is called even when PlayerInteractEntityEvent is cancelled

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      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.

            Assignee:
            Unassigned
            Reporter:
            Eduardo pilati
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: