InvView
InvView copied to clipboard
A offline player's inventory can be opened by more than one player
Describe the bug A offline player's inventory can be opened by more than one player, which can cause items duplicated and lost.
To Reproduce Steps to reproduce the behavior:
- Player A executes
/view inv C
and keeps the inventory. - Player B executes
/view inv C
, takes some items from Player C's and closes the inventory. - Player A takes some items from Player C's inventory and closes the inventory.
- Items were duplicated.
Expected behavior
- When Player B taking items from Player C's inventory, the GUI opened by Player A should be updated at the same time.
- Or Player B can not open Player C's inventory, while Player A is keeping it.
Screenshots No screenshots
Device Info(please complete the following information):
- OS: Windows 10
- Minecraft Version: 1.19.3
- Version: 1.4.10
Additional context No more