Short description of the issue
When using /item to replace the player.cursor slot while the player is in creative mode the items are duplicated when the stack is placed in the inventory on the server-side.
Steps to reproduce the issue
Enter creative mode
gamemode creativeRun the command
item replace entity @s player.cursor with stone 64Open your inventory
Place the stack of items on your cursor into your inventory
Expected result
One stack of items where you placed them.
Actual result
Two stacks of items, one where you placed them, and one in the next available slot.
Environment
MacOS - M4 Mac mini
Attachments
Comments 2
Yes I know the cause is similar to MC-270503 (the creative client being trusted implicitly), but the way the bug presents itself is very differnent and more significant.
Thank you for helping us improve Minecraft! We saved your files: