From a81fdf29188942be2679cf55389e6c8cee8be9cd Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Fri, 18 Feb 2022 04:06:26 -0500 Subject: [PATCH] Fix kill NPC objectives, fixes #1883 --- core/src/main/java/me/blackvein/quests/Quester.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/me/blackvein/quests/Quester.java b/core/src/main/java/me/blackvein/quests/Quester.java index 4896fe841..d60a8e163 100644 --- a/core/src/main/java/me/blackvein/quests/Quester.java +++ b/core/src/main/java/me/blackvein/quests/Quester.java @@ -2557,7 +2557,7 @@ public class Quester implements IQuester { final int index = getCurrentStage(quest).getCitizensToKill().indexOf(npc.getId()); 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 QuesterPreUpdateObjectiveEvent preEvent = new QuesterPreUpdateObjectiveEvent(this, quest,