PlayerPickupArrowEvent#getItem does not respond to changes in the item

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

      irrelevant in this case

      We should be able to change the item that gets picked up in PlayerPickupArrowEvent like so:

      @EventHandler
      public void onPlayerPickupArrow(PlayerPickupArrowEvent event) {
      	Item item = event.getItem();
              item.setItemStack(new ItemStack(Material.STICK, 1));
      }
      

      This code has no effect on the item that gets picked up.

            Assignee:
            Unassigned
            Reporter:
            Jacob Crofts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: