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

Dying sign text also triggers clickEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a
    • Confirmed

      The bug

      Dying the text of a sign additionally triggers clickEvents of the text components.

      This is likely not the intended behavior because the player wanted to only dye the sign text.

      How to reproduce

      1. Use the following command
        /setblock ~ ~ ~ oak_sign{Text1:"{\"text\":\"Dye me\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say Clicked\"}}"}
        
      2. Try to dye the text of the sign
        The text color was changed but the clickEvent was triggered as well

            searge [Mojang] Searge (Michael Stoyke)
            marcono1234 [Mod] Marcono1234
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: