From c268dca82fe24d5a8a574e2034657b87610c180f Mon Sep 17 00:00:00 2001 From: AlessioDP Date: Sat, 14 Sep 2019 12:34:30 +0200 Subject: [PATCH] Fixed NullPointer due to wrong objective --- 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 a86f8d10a..d2fd2eb6e 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -3281,7 +3281,7 @@ public class Quester { if (quest.getOptions().getShareProgressLevel() == 1) { List mq = getMultiplayerQuesters(quest); for (Quester q : mq) { - if (q.containsObjective(quest, objectiveType) || !quest.getOptions().getRequireSameQuest()) { + if (q.containsObjective(quest, objectiveType)) { fun.apply(q); }