mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +01:00
Merge pull request #1002 from AlessioDP/master
Fix multiplayer progress sharing level 4
This commit is contained in:
commit
2efad5c14e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user