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

CraftInventory.getItem(int) returns null for empty item while CraftInventoryPlayer.getItemInOffHand() returns ItemStack{AIR x 0}

XMLWordPrintable

      CraftInventory's getItem returns null if the item slot is empty, CraftInventoryPlayer's getItemInOffHand returns an ItemStack of AIR x 0. Nothing major, just a minor inconsistency.

            md_5 md_5
            Fluglow Fluglow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: