private void logReachingOfAnAchievement(Player player, Achievement achievement) {
String identifier = achievement.getIdentifier();
String title = achievement.getTitle();
Category category = achievement.getCategory();
String playerName = player.getName();
DBCommandQueue.get().enqueue(new WriteReachedAchievementCommand(identifiersToIds.get(identifier), title, category, playerName));
player.addReachedAchievement(achievement.getIdentifier());
new GameEvent(playerName, "reach-achievement", category.toString(), title, identifier).raise();
}