Same bug with the new /item command 1.17 snapshots.
Replacing items in the player inventory succesfully update the player Inventory tag (as can be seen with /data get entity @s Inventory) but most times doesn't do so with the GUI.
If the new item is a block, it can be placed but the icon, name, lore, etc. displayed in the GUI are still those of the prevoius item.
If the item replacing the previous one is a consumable, like a splash potions, ender pearls, etc. it can't be used.
Same bug with the new /item command 1.17 snapshots.
Replacing items in the player inventory succesfully update the player Inventory tag (as can be seen with /data get entity @s Inventory) but most times doesn't do so with the GUI.
If the new item is a block, it can be placed but the icon, name, lore, etc. displayed in the GUI are still those of the prevoius item.
If the item replacing the previous one is a consumable, like a splash potions, ender pearls, etc. it can't be used.
MC-213111