Fixed Setting spawn return error.
Fixed setting team spawn return error.