Steps to reproduce
Create player.json file with minecraft:npc and minecraft:interact, with a child of swing as components.
Create a dialogue with a command to be run on press.
Create a command block to run execute @p ~ ~ ~ /dialogue open @s @s <scene>
Remove Operator Status.
Power the command block
Press a button in the NPC Dialogue.that run a command.
Expected Behavior:
The command runs
Observed Behavior:
The command does not run.
For Operator GUIs it works fine but player ones you must use a npc.
Linked issues
is duplicated by 1
Attachments
Comments 4
I added a sample world for testing. Just remove op for the experiment and use op for the control group. The interact thing isn’t required it just fixes the issue of players completely acting like npcs
You do have to wait a about 10 seconds for the op to be removed since the command will execute immediately after the op is removed and will not run after a few seconds.
Please attach an sample pack, or better, a world save, that reproduces this issue.