fixes NPE in spawn command for other players