Mojira Archive
MC-139496

Dying sign text also triggers clickEvent

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

Works As Intended

Marcono1234

[Mojang] Searge (Michael Stoyke)

2018-11-17, 01:02 AM

2019-03-19, 03:27 PM

2019-03-19, 03:27 PM

5

4

Confirmed

clickEvent, sign, text-component

Minecraft 18w46a - Minecraft 19w07aMinecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a

-