mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-28 13:45:32 +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);
|
List<Quester> mq = getMultiplayerQuesters(quest);
|
||||||
for (Quester q : mq) {
|
for (Quester q : mq) {
|
||||||
if (q.containsObjective(quest, objectiveType)) {
|
if (q.containsObjective(quest, objectiveType)) {
|
||||||
if (quest.getOptions().getRequireSameQuest() && this.containsObjective(quest, objectiveType)) {
|
if (!quest.getOptions().getRequireSameQuest() || this.containsObjective(quest, objectiveType)) {
|
||||||
fun.apply(q);
|
|
||||||
} else if (!quest.getOptions().getRequireSameQuest()) {
|
|
||||||
fun.apply(q);
|
fun.apply(q);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user