Mojira Archive
MC-239935

Client-side desyncs can still occur when using the "/item" or "/give" commands repeatedly

The Bug:

Client-side desyncs can still occur when using the "/item" command repeatedly.

It appears that MC-219018 wasn't fully fixed as you can still reproduce this when placing blocks.

Steps to Reproduce:

  1. Summon a repeating command block that will constantly replace the first slot in your hotbar with dirt by using the command provided below.
    /setblock ~ ~ ~ minecraft:repeating_command_block{Command:"/item replace entity @p hotbar.0 with minecraft:dirt",auto:1b}
  2. Switch into survival mode and place down the dirt.
  3. Take note as to whether or not a new piece of dirt can be visually seen in your first hotbar slot.
  4. Check to see if any dirt is present in your inventory by using the command provided below.
    /data get entity @s Inventory
  5. Take note as to whether or not client-side desyncs can still occur when using the "/item" command repeatedly.

Observed Behavior:

Client-side desyncs can still occur.

Expected Behavior:

Client-side desyncs would not occur.