Merge pull request #1002 from AlessioDP/master

Fix multiplayer progress sharing level 4
This commit is contained in:
PikaMug 2019-11-13 13:29:11 -05:00 committed by GitHub
commit 2efad5c14e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -745,10 +745,12 @@ public class Quest {
if (opts.getShareProgressLevel() == 4) { if (opts.getShareProgressLevel() == 4) {
List<Quester> mq = q.getMultiplayerQuesters(this); List<Quester> mq = q.getMultiplayerQuesters(this);
for (Quester qq : mq) { for (Quester qq : mq) {
if (qq.getQuestData(this) != null) {
completeQuest(qq); completeQuest(qq);
} }
} }
} }
}
/** /**
* Force player to quit quest and inform them of their failure * Force player to quit quest and inform them of their failure