The bug
It appears the /gamerule
command is not modifying the gamerule values anymore, or rather the modified values don't take effect.
How to reproduce
Give yourself some items
/give @s stone
Change the gamerule
keepInventory
/gamerule keepInventory true
Verify the value was changed
/gamerule keepInventory
Use
/kill
/kill @s
→ The items were dropped
Linked issues
is duplicated by 19
Attachments
Comments 12
can confirm commandblockoutput not working, gameLoopFunction could also be part of the issue that seems to be preventing functions from being found at all
@unknown No, it's not related, you just had an error in your function. (commenting here so that future readers don't think it's related)
Normally we would ask you if you can reproduce it without that, but in this case I've observed it myself with a world that always had commands on.
Very strange, I loaded a few worlds, both with cheats on and off, not touched for a month or two.
No issues with the cheats always on, the worlds with cheats off don't autocomplete commands after opening to LAN with cheats on and the gamerules don't stick (gamemode works though)
Gamerule fails to work from multiplayer/in-game on my friend's snapshot server either, if that helps any.
Confirmed, here's the commands I tried:
/gamerule commandBlockOutput false
Execution of a command block still spams chat.
/gamerule gameLoopFunction path:myfunction
Doesn't loop the function.