Fixed quests not finishing their questline

This commit is contained in:
Melledy
2022-05-13 06:24:50 -07:00
parent f4770cf20a
commit a227b44c70
4 changed files with 23 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ public class QuestManager {
QuestData data = quest.getData();
for (int i = 0; i < data.getFinishCond().length; i++) {
if (quest.getFinishProgressList()[i] == 1) {
if (quest.getFinishProgressList() == null || quest.getFinishProgressList()[i] == 1) {
continue;
}