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

Wrong position of click/hover area in string with bold format code

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.12.2
    • None
    • Unconfirmed

      If you add bold format code(§b) to chat component then click and hover areas after that code will be shifted from the text

      Json:

      {
      	"text": "",
      	"extra": [
      		"§8§l | §fTo open link press ",
      		{
      			"text": "§9HERE",
      			"clickEvent": {
      				"action": "open_url",
      				"value": "minecraft.net"
      			},
      			"hoverEvent": {
      				"action": "show_text",
      				"value": "§fSome text"
      			}
      		}
      	]
      }
      

            Unassigned Unassigned
            Den_Abr Denis Abr.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: