Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-79876

Closing inventory while holding item does not properly drop it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8.4, Minecraft 15w45a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.11, Minecraft 1.12 Pre-Release 1
    • Confirmed

      The bug

      Closing your inventory while you are holding an item with your cursor does not drop it properly. Neither stat.drop is increased nor you are set as Thrower of the item.

      Steps to reproduce

      1. Create a stat.drop scoreboard objective and show it on the sidebar
        /scoreboard objectives add droppedItem stat.drop
        /scoreboard objectives setdisplay sidebar droppedItem
        
      2. Put an item in your inventory
      3. Switch to Survival or Adventure mode
        /gamemode survival
        
      4. Open your inventory and pick up an item with your cursor
      5. Close your inventory
        → The item is dropped but your droppedItem score does not increase

            Unassigned Unassigned
            neo417 neo417
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: