}
public static void completeQuest(Player player) {
PlayerProfile profile = PlayerProfile.getProfile(player.getName());
Quest quest = QuestManager.getQuest(profile.getProgress().getQuestName());
quest.onCompletion(player, profile.getProgress());
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;