mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 04:09:57 +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
@@ -472,6 +472,9 @@ public class NoppesUtilPlayer {
|
||||
if (data.quest.completion == EnumQuestCompletion.Instant)
|
||||
EventHooks.onPartyFinished(party, data.quest);
|
||||
|
||||
if(data.quest.completion == EnumQuestCompletion.Npc)
|
||||
PartyController.Instance().sendQuestChat(party, "party.completeChat");
|
||||
|
||||
PartyEvent.PartyQuestTurnedInEvent partyEv = new PartyEvent.PartyQuestTurnedInEvent(party, data.quest);
|
||||
EventHooks.onPartyTurnIn(partyEv);
|
||||
if (partyEv.isCancelled())
|
||||
|
||||
Reference in new issue
Block a user