I found a bug in the newest Minecraft Snapshot. You are able to ban yourself in a Singleplayer mode, which leads to a freezing game.
1. Create a new world to be sure your world will not damage.
2. When in-game, use /ban [your IGN]
3. Your game should now be freezing.
EDIT: After closing Minecraft and restarting your world, you are not banned anymore for some reason.
Related issues
Attachments
Comments

[media]

Duplicate of MC-121636. Please use the search function next time.