Network crash fixes

Always ensure you check that the player is valid before doing shit with
them.