mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +01:00
Fixed NullPointer due to wrong objective
This commit is contained in:
parent
c7ebc22eed
commit
c268dca82f
@ -3281,7 +3281,7 @@ public class Quester {
|
|||||||
if (quest.getOptions().getShareProgressLevel() == 1) {
|
if (quest.getOptions().getShareProgressLevel() == 1) {
|
||||||
List<Quester> mq = getMultiplayerQuesters(quest);
|
List<Quester> mq = getMultiplayerQuesters(quest);
|
||||||
for (Quester q : mq) {
|
for (Quester q : mq) {
|
||||||
if (q.containsObjective(quest, objectiveType) || !quest.getOptions().getRequireSameQuest()) {
|
if (q.containsObjective(quest, objectiveType)) {
|
||||||
fun.apply(q);
|
fun.apply(q);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user