mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-24 11:38:42 +01:00
Improved multiplayer everything method
This commit is contained in:
parent
17ac3b9430
commit
515a1aa216
@ -3282,9 +3282,7 @@ public class Quester {
|
||||
List<Quester> 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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user