If I run the command /ban [My username] I can ban myself from a world.
This causes Minecraft to lag and eventually crash.
I have searched for this issue and it seems no one has reported this.
Linked issues
Comments

If I run the command /ban [My username] I can ban myself from a world.
This causes Minecraft to lag and eventually crash.
I have searched for this issue and it seems no one has reported this.
migrated
(Unassigned)
Unconfirmed
Minecraft 17w48a
Retrieved
Duplicate of MC-121636. For reference: I had seen the previous report, so I vaguely could guess at the title for searching; I searched for
server commands singleplayer
and found it.