Fixed null issues while adding offline players to town