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

InventoryPickupItemEvent is not cancelled when the inventory does not pick up the item

XMLWordPrintable

    • CraftBukkit version git-Spigot-f823ac5-020b495 (MC: 1.13.1) (Implementing API version 1.13.1-R0.1-SNAPSHOT)
    • Yes

      This may be my opinion, but I believe InventoryPickupItemEvent should be cancelled when the item is not picked up. I do not see any other way to verify that the inventory did indeed pick up the item.

      Currently if a hopper tries to pick up an item but has no space for it, the item will not be picked up and InventoryPickupItemEvent will fire without being cancelled.

            Unassigned Unassigned
            zedwick@gmail.com Zedadias Wick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: