int UID = profile.getProgress().getQuesterUID();
long elapsed = System.currentTimeMillis() - profile.getProgress().getStartTime();
profile.setProgress(null);
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));
}