Removing an explicit ItemStack of an Inventory

XMLWordPrintable

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor
    • None
    • Affects Version/s: None

      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 

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

              Created:
              Updated:
              Resolved: