diff --git a/src/com/gpl/rpg/atcontentstudio/model/gamedata/Quest.java b/src/com/gpl/rpg/atcontentstudio/model/gamedata/Quest.java index c1e683a..cbb993c 100644 --- a/src/com/gpl/rpg/atcontentstudio/model/gamedata/Quest.java +++ b/src/com/gpl/rpg/atcontentstudio/model/gamedata/Quest.java @@ -99,8 +99,8 @@ public class Quest extends JSONElement { public void parse(Map questJson) { this.visible_in_log = JSONElement.getInteger((Number) questJson.get("showInLog")); List questStagesJson = (List) questJson.get("stages"); + this.stages = new ArrayList(); if (questStagesJson != null && !questStagesJson.isEmpty()) { - this.stages = new ArrayList(); for (Object questStageJsonObj : questStagesJson) { Map questStageJson = (Map)questStageJsonObj; QuestStage questStage = new QuestStage(this);