Don't add to the player stats when the player is null. Fixes #174