mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 22:27:32 +00:00
Fix issue with Finish Quest API
This commit is contained in:
1 parent
b989a89889
commit
92133afe75
1 file changed
+1
-3
@@ -317,9 +317,7 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
|
||||
Quest quest = QuestController.Instance.quests.get(id);
|
||||
if (quest == null)
|
||||
return;
|
||||
PlayerData data = PlayerData.get(player);
|
||||
PlayerQuestController.setQuestFinishedUtil(player, quest, data.questData);
|
||||
data.updateClient = true;
|
||||
PlayerQuestController.setQuestFinished(quest, player);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user