From 8f72140460d1e5b77950271017af2c70eeecf04a Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Sat, 18 Apr 2020 17:37:31 -0400 Subject: [PATCH] Return empty list if player has no current stage for quest, fixes #1221 --- main/src/main/java/me/blackvein/quests/Quester.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/me/blackvein/quests/Quester.java b/main/src/main/java/me/blackvein/quests/Quester.java index 2eceaa610..b2085b108 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -788,7 +788,7 @@ public class Quester { } } } - if (getQuestData(quest) == null) { + if (getQuestData(quest) == null || getCurrentStage(quest) == null) { return new LinkedList(); } LinkedList unfinishedObjectives = new LinkedList();