command error
the command (execute @p ~ ~ ~ detect ~ ~-2 ~ command_block 0 /spawnpoint @p ~ ~ ~) in a command block repeat, always active does not work and in command output a dialog "can not be set spawnpoint as the player (NAME OF PLAYER),is a spawnpoint system that is used in adventure maps, please check it out, greetings