mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-13 22:25:50 +01:00
Fix kill NPC objectives, fixes #1883
This commit is contained in:
parent
4fb8e5e781
commit
a81fdf2918
@ -2557,7 +2557,7 @@ public class Quester implements IQuester {
|
|||||||
|
|
||||||
final int index = getCurrentStage(quest).getCitizensToKill().indexOf(npc.getId());
|
final int index = getCurrentStage(quest).getCitizensToKill().indexOf(npc.getId());
|
||||||
final int npcsKilled = getQuestData(quest).citizensNumKilled.get(index);
|
final int npcsKilled = getQuestData(quest).citizensNumKilled.get(index);
|
||||||
final int npcsToKill = getCurrentStage(quest).getMobNumToKill().get(index);
|
final int npcsToKill = getCurrentStage(quest).getCitizenNumToKill().get(index);
|
||||||
|
|
||||||
final ObjectiveType type = ObjectiveType.KILL_NPC;
|
final ObjectiveType type = ObjectiveType.KILL_NPC;
|
||||||
final QuesterPreUpdateObjectiveEvent preEvent = new QuesterPreUpdateObjectiveEvent(this, quest,
|
final QuesterPreUpdateObjectiveEvent preEvent = new QuesterPreUpdateObjectiveEvent(this, quest,
|
||||||
|
Loading…
Reference in New Issue
Block a user