character.setPlayer(player);
character.setFemale(female);
LOGGER.debug("new avatar's player attrib set to "+player.getName()+". Result of calling getter: "+character.getPlayer());
character.persist();
return character;
} else {
throw new MustRegisterToCreateAvatarError();
}
}