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

Remove Item for Offhand Item

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • None

      While looping through the a players inventory contents by using inv.getContents(). When running inv.removeItem(item) on the offhand item. It will not remove any item from the inventory.

      The work around for this is to use inv.setItemInOffhand(null). But this is undesirable as it required tracking the index of the current item.

            Unassigned Unassigned
            tcvs Thomas C-vS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: