mojira.dev
MC-145179

data modify modifies player item data but shows error message

How to reproduce:

1) Put item in hand

2) Run command:

data modify entity @s SelectedItem.tag.display.Lore prepend value "{\"text\":\"test\"}"

After running the command, the lore of the held item is changed, but the still game writes the error message: "Unable to modify player data" in chat. But this only occurs if the item already has a lore.

Linked issues

Comments

tryashtar

Confirmed. Only works if tag is already present on the item

migrated

Still present in 1.14.1 and 1.14.2-pre2

JoeJoeTV

(Unassigned)

Confirmed

Commands

Minecraft 19w09a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b

19w37a

Retrieved