mojira.dev
MC-299548

"run_command" dialog actions don't work if chat is hidden

Dialog actions of type run_command or dynamic/run_command do nothing if chat is set to "Hidden" in chat settings.

How to reproduce

  1. Enter the following command into a command block:

    /dialog show @p {actions:[{action:{command:"give @s stone",type:run_command},label:"Give stone"}],title:MC-299548,type:multi_action}
  2. Power the command block

  3. Click the UI button labelled “Give stone”

  4. Click “Yes” to confirm command execution
    → ✔ You are given a block of stone

  5. Set chat to "Hidden" in chat settings

  6. Repeat steps 2–4
    → ❌ You are not given a block of stone

Linked issues

Comments 0

No comments.

j_p_smith

boq

Confirmed

Platform

Normal

Commands, UI

1.21.7, 1.21.8

25w33a

Retrieved