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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 19w09a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b
    • Fix Version/s: 19w37a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: