Fixing NPE when player is spectator.