If you use run_command
action type and run a command with all of following condition match in dialog action, the dialog is unescapable even set the option can_close_with_escape
to true
.
1. Commands that needs to signed with the Secure Chat system.
2. Commands that is formmated correctly.
How to reproduce:
1. create a world with command permmision is on.
2. type the following command and press Enter
to execute:
/dialog show @s {type:notice,title:"Force AFK 3000",action:{label:"you can click me but still lol",action:{type:"run_command",command:"say hi"}}}
3. Press Esc
and try to escape.
You can only escape by clicking the dialog hint button and leave the game.
Comments 0
No comments.