From 515a1aa2161ac409c76d46333288f058905229f5 Mon Sep 17 00:00:00 2001 From: AlessioDP Date: Sun, 15 Sep 2019 21:43:53 +0200 Subject: [PATCH] Improved multiplayer everything method --- main/src/main/java/me/blackvein/quests/Quester.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main/src/main/java/me/blackvein/quests/Quester.java b/main/src/main/java/me/blackvein/quests/Quester.java index de59efe73..ea9a8c0c2 100644 --- a/main/src/main/java/me/blackvein/quests/Quester.java +++ b/main/src/main/java/me/blackvein/quests/Quester.java @@ -3282,9 +3282,7 @@ public class Quester { List mq = getMultiplayerQuesters(quest); for (Quester q : mq) { if (q.containsObjective(quest, objectiveType)) { - if (quest.getOptions().getRequireSameQuest() && this.containsObjective(quest, objectiveType)) { - fun.apply(q); - } else if (!quest.getOptions().getRequireSameQuest()) { + if (!quest.getOptions().getRequireSameQuest() || this.containsObjective(quest, objectiveType)) { fun.apply(q); } }