mojira.dev
MC-306882

Placing items placed on the mouse cursor with /item on a slot in Creative mode duplicates them

  • 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

    1. Enter creative mode

      gamemode creative
    2. Run the command

      item replace entity @s player.cursor with stone 64
    3. Open your inventory

    4. 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

Thank you for helping us improve Minecraft! We saved your files:

[media]

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.

Luna

(Unassigned)

Confirmed

(Unassigned)

1.21.11, 26.1 Pre-Release 2

Retrieved