Fixed NullPointer due to wrong objective

This commit is contained in:
AlessioDP 2019-09-14 12:34:30 +02:00
parent c7ebc22eed
commit c268dca82f
No known key found for this signature in database
GPG Key ID: B92B813840FFCC9F

View File

@ -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);
} }