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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: