When using "kick @p" on a command block, the command doesn't work as intended. But running the command "execute run kick @p" DOES work, unlike vanilla which prevents this command from running.
Reproduction steps:
1- Make sure you're an operator in the server by running "op [your username]" in the console.
2- Give yourself a command block by running /give @s command_block
3- Place down the command block, right click to open it, then type "execute run kick @p"
4- Power the command block ( or make sure the command block is set to "always run" instead of "needs redstone"
5- You will get kicked from the server.
This issue isn't specific to /kick, it allows for command blocks to use any vanilla command they shouldn't be able to, including /stop
|