Quest q = QuestManager.getQuest(234); < -- на эту строку показывает хз влом думать почему
QuestState qs = player.getQuestState(q.getId());
if(qs != null)
{
qs.exitQuest(true);
}
q.newQuestState(player, Quest.COMPLETED);
if(player.getPlayerTemplateComponent().getPlayerRace() == PlayerRace.kamael)
{
q = QuestManager.getQuest(236);
qs = player.getQuestState(q.getId());
if(qs != null)
{
qs.exitQuest(true);
}
q.newQuestState(player, Quest.COMPLETED);
}
else
{
q = QuestManager.getQuest(235);
qs = player.getQuestState(q.getId());
if(qs != null)
{
qs.exitQuest(true);
}
q.newQuestState(player, Quest.COMPLETED);
}