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

click_event "run_command" action fails with commands /say and /tell

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 25w02a
    • None
    • Unconfirmed
    • (Unassigned)

      The "run_command" action on text with the click_event text component fails if the command is /say or /tell, which are fairly harmless commands. Meanwhile the "suggest_command" still works and has nearly the same format. An error is produced in the output log, but most player will have no feedback as to why the clicked text does nothing.

      Steps to reproduce:

      1. Run command 

      /tellraw @p [{text:"click me to say hi",click_event:{action:'run_command',command:'/say hi'}}]

      2. Click the text in your chat. Nothing happens.
      3. Replace the action with "suggest_command", proving that suggest_command still works. 

      /tellraw @p [{text:"click me to say hi",click_event:{action:'suggest_command',command:'/say hi'}}]

            Unassigned Unassigned
            Flamingosaurus Flamingosaurus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: