Player can be NULL, prevent crashes