If I am in a singleplayer world ans use the command /kick @p the game stops responding. This happends if I use the command in the chat or in an mcfunction. If I try to use this command in a command block i just get an error message. In the console I get the message that I have left the world and the world has been saved(see in the attachements). I think it shout be possible to kick a player via chat, via function and via command blocks.
Attachments
Comments 2
Incomplete without a crash report from (minecraft/crash-reports/crash-<DATE>-client.txt). Please attach it to this ticket so that we can diagnose your issue.
Sounds like a duplicate of
MC-121636, which was fixed at some point.