Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-145179

data modify modifies player item data but shows error message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w37a
    • Minecraft 19w09a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b
    • None
    • Confirmed
    • Commands

      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.

            Unassigned Unassigned
            JoeJoeTV JoeJoeTV
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: