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
Thank you for your report!
However, this issue is Invalid.
Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.
Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.
Any plugin issues need to be addressed to the creator of the plugin or resource pack.
If you have problems on large servers, such as The Hive and Hypixel, please contact them first as they run modified server software.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki