mojira.dev
MC-45335

Changing gamemode to adventure bug

So if i make a command block run this command /gamemode 2 @a[m=0] in a clock and I'm on survival it will change my gamemode to adventure and then keep spamming me with "Game mode updated". I've read a few more bugs related to this and there may be a problem with the @a selector, because if i replace it with @p, it works perfectly.

Linked issues

Attachments

Comments 5

Deleted account

The m argument indicates that the selector should only return survival mode players, leaving players who already are in adventure mode unaffected. Without the m=0 selector, I can reproduce this issue.

If you accidentally posted the m=0 selector, please update your post and remove it.
If not, please force a crash by pressing F3 + C for 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) here.

Cannot confirm.
Getting the "Game mode updated" once.

Deleted account

Not fixed, but a duplicate of MC-303.
(Attached screenshot to MC-303)

Actually, Jar_ I don't think this is an issue. It's related (the messages) but that isn't the problem here. There is weird stuff going on with @a in these snapshots.

Duplicate of MC-44521

Aluchienesei Victor

(Unassigned)

Unconfirmed

Minecraft 14w03b

Retrieved