Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5243

When picking up shot arrows no EntityPickupItemEvent is fired

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version git-Spigot-cbcc8e8-06efc9e (MC: 1.14.4)
    • Yes

      PlayerPickupArrowEvent is called, but is a subclass of the deprecated PlayerPickupItemEvent. As EntityPickupItemEvent is a replacement for the PlayerPickupItemEvent I think that should be called too.

      Listening to PlayerPickupArrowEvent works, but because PlayerPickupItemEvent is deprecated all inherited methods in PlayerPickupArrowEvent are also deprecated and give warnings.

            Unassigned Unassigned
            Brokkonaut Brokkonaut
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: