From 708d587080e742f7ea582e27e56a98d9978610f3 Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Sun, 5 Apr 2020 01:55:15 -0400 Subject: [PATCH] Only check require-same-quest if objectives do not match, fixes #1172 --- main/src/main/java/me/blackvein/quests/Quester.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/main/java/me/blackvein/quests/Quester.java b/main/src/main/java/me/blackvein/quests/Quester.java index 44206bf02..e02676a21 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -3675,8 +3675,8 @@ public class Quester { } for (Quester q : mq) { if (q.getCurrentStage(quest).containsObjective(objectiveType)) { - if (!quest.getOptions().getRequireSameQuest() - || this.getCurrentStage(quest).containsObjective(objectiveType)) { + if (this.getCurrentStage(quest).containsObjective(objectiveType) + || !quest.getOptions().getRequireSameQuest()) { fun.apply(q); } }