I've not checked in a while, I think it was 14w30c, but may've been 14w29b or whatever it was called but you can type things like /gamerule lol <true|false>
and you could type /gamerule TAB and it would be in the list. The command also didn't fail. Just so no one gets confused, this is not the same as MC-2911, it says the last part is custom. (/gamerule <gamerule> anything
) I am saying /gamerule <anything> <true|false>
This is new, and MC-2911 has been in the game.
Linked issues
is duplicated by 7
Comments 5
This can't be working as intended. Sonic's source says:
In addition, new game rules may be defined and set (by providing a value) or queried (by not providing a value). For example,
gamerule MyNewRule 10
defines a new game rule called MyNewRule and sets its value to 10. Attempting to query a game rule which has not yet been set will cause the command to fail (a change from the previous behaviour of always succeeding).
http://minecraft.gamepedia.com/Commands#gamerule
The bolded part is actually not true. As Sam described in his report, the command does not fail. It succeeds and can activate a comparator. Output of the command reads "Gamerule has been updated".
Please reopen this report. False gamerules should not succeed.
From the MC Wiki