mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 09:37:29 +00:00
Fix Turn in Quests Clearing too Soon
This commit is contained in:
1 parent
84991d93ce
commit
cc319b9f84
3 files changed
+8
-2
No files matched your search
@@ -199,10 +199,12 @@ public class PartyController {
|
||||
questData.isCompleted = true;
|
||||
if (questData.quest.completion == EnumQuestCompletion.Npc) {
|
||||
EventHooks.onPartyFinished(party, questData.quest);
|
||||
PartyController.Instance().sendQuestChat(party, "party.turnedInChat");
|
||||
} else {
|
||||
party.setQuest(null);
|
||||
PartyController.Instance().sendQuestChat(party, "party.completeChat");
|
||||
}
|
||||
party.setQuest(null);
|
||||
PartyController.Instance().pingPartyUpdate(party);
|
||||
PartyController.Instance().sendQuestChat(party, "party.completeChat");
|
||||
}
|
||||
} else {
|
||||
questData.isCompleted = false;
|
||||
|
||||
Reference in new issue
Block a user