requirement.grant(player, UID);
}
for (Reward reward : quest.getInitialRewards()) {
reward.grant(player, UID);
}
QuestBeginEvent call = new QuestBeginEvent(quest, player);
Bukkit.getPluginManager().callEvent(call);
if (call.isCancelled()) {
return false;
}
getProfile(player.getName()).setProgress(
new QuestProgress(UID, player, questName, System.currentTimeMillis()));
Messaging.send(player, quest.getAcceptanceText());