Only check require-same-quest if objectives do not match, fixes #1172

This commit is contained in:
PikaMug 2020-04-05 01:55:15 -04:00
parent 395a1c361e
commit 708d587080

View File

@ -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);
}
}