int completed = profile.hasCompleted(quest.getName()) ? profile.getCompletedQuest(quest.getName())
.getTimesCompleted() + 1 : 1;
CompletedQuest comp = new CompletedQuest(quest.getName(), UID, completed, elapsed,
System.currentTimeMillis());
profile.addCompletedQuest(comp);
Bukkit.getServer().getPluginManager().callEvent(new QuestCompleteEvent(quest, comp, player));
}