InvView icon indicating copy to clipboard operation
InvView copied to clipboard

A offline player's inventory can be opened by more than one player

Open Chihsiao opened this issue 2 years ago • 0 comments

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:

  1. Player A executes /view inv C and keeps the inventory.
  2. Player B executes /view inv C, takes some items from Player C's and closes the inventory.
  3. Player A takes some items from Player C's inventory and closes the inventory.
  4. Items were duplicated.

Expected behavior

  1. When Player B taking items from Player C's inventory, the GUI opened by Player A should be updated at the same time.
  2. 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

Chihsiao avatar Jan 14 '23 05:01 Chihsiao