When I put
/kill @e [type=!player]
in a command block and power it, I die, even though players should be excluded. I need this command to be able to reset my mini-game map, but I don't know how to do it! Am I doing it wrong?
I've found other websites that say its just like that, so I don't know what I'm doing wrong.