This question already has an answer here:
In my minecraft server/realm I have done this command block that allows one person to sleep and I did the command and that command block disappeared. Now every time a person sleeps a chat message comes up in Spanish:
I've tried the command
/gamerule commandblockoutput false but it didn't work.
How can I fix it?