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

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 19w09a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b
    • 19w37a
    • None
    • Confirmed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: