mojira.dev
MC-5020

/gamemode doesn't work as expected on command blocks

What I expected to happen was:
When I attached my command block to a redstone clock and gave it a /gamemode command, it would change my gamemode as expected with the command /gamemode 2 @a

What actually happened was:
Nothing. I tried with another command (/say) and it worked fine.

Steps to Reproduce:
1. Make a 2-clock
2. Attach a command block to the output
3. Change the command block's command to /gamemode 2 @a

Linked issues

Attachments

Comments 6

That definitely does not work. Even in the command line.

/gamemode 2 @a is the correct command, and I tried that and it worked perfectly fine for me.

Works as expected.
You may (should ?) omit the leading "/" of the commands, thats only needed in the chat console.

Works for me in 1.4.6.

When I use this command in the new 1.4.6 Version, it works!

Huw Evans

(Unassigned)

Unconfirmed

Minecraft 1.4.5

Retrieved