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

setAmount off by one.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None

      When using item.setAmount() it sets the amount one higher than what you specify, this also seems to create issues with other methods such as inventory.removeItem() which will not remove items when the stack size is 2 or less.

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

              Created:
              Updated: