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

Cancelling ProjectileLaunchEvent wont stop item from being taken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      When the ProjectileLaunchEvent is cancalled, the item which is being used will still be taken from the players inventory.
      Simply adding a new arrow doesn't fix this because you can't tell which item was taken.
      For example: I have two types of arrows, one normal arrow, one arrow named "Exploding arrow". I can't cancel the event to make sure the right arrow is taken from the inventory. Either both arrows are removed, or one I can't control.

            Unassigned Unassigned
            NubeBuster Mark Cockram
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: