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

Removing an explicit ItemStack of an Inventory

    XMLWordPrintable

Details

    Description

      Hey,

      im really missing a method where you can remove an explicit ItemStack from an Inventory 

      Describing this in my problem 

      A User clicks an ItemStack the InventoryInteractEvent getting called transfer a copy of the ItemStack into an other Inventory an when i now try to remove this ItemStack ive Clicked with inventory.remove(itemStack);

      its remove every Item which are the same 

      e.g 2 Stack Stone , clicking one 2 getting removed 

      and the Method using the int doesent work

      inventory.remove(event.getSlot());

      or

      inventory.remove(event.getRawSlot());

      Doesent remove any ItemStack 

      Attachments

        Activity

          People

            Unassigned Unassigned
            Quzt Hannes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: