mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Prevent Duplicate Completes for Dialog Quests on Only Party
This commit is contained in:
1 parent
53adae1390
commit
7dd718dc93
1 file changed
+3
@@ -152,6 +152,9 @@ public class PlayerQuestData implements IPlayerQuestData {
|
||||
continue;
|
||||
}
|
||||
|
||||
if(data.quest.partyOptions.allowParty && data.quest.partyOptions.onlyParty)
|
||||
continue;
|
||||
|
||||
QuestInterface inter = data.quest.questInterface;
|
||||
if(inter.isCompleted(playerData)){
|
||||
if((!data.isCompleted && data.quest.completion == EnumQuestCompletion.Npc) || data.quest.instantComplete(player,data)){
|
||||
|
||||
Reference in new issue
Block a user