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

Closing an inventory right before a new one is opened stops servers knowing the inventory is open

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.5
    • None
    • Unconfirmed
    • (Unassigned)

      If a player closes an inventory right before a new one opens on a server, the server thinks the client has no open inventory, meaning items that should not be taken can be, and act as ghost items after closing the inventory

      Steps to reproduce:
      Make a server with a plugin that means clicking on an item in the inventory opens a new inventory with unstealable items
      Click on the item, then quickly close the inventory before the new one opens

      What I expect to happen:
      The unstealable items should not be taken, and the server should register the click

      What happens:
      You are able to take the items from the new inventory
      After closing the inventory, the items become ghost items

      Extra info:
      This might seem like a bug with plugins, but its not, it is caused by the server not noticing the new inventory has opened, which is a minecraft bug

            Unassigned Unassigned
            cometcake575 cometcake575
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: