diff --git a/src/main/java/emu/grasscutter/game/quest/QuestManager.java b/src/main/java/emu/grasscutter/game/quest/QuestManager.java index 0e9ae04a5c8..a2e3c56e132 100644 --- a/src/main/java/emu/grasscutter/game/quest/QuestManager.java +++ b/src/main/java/emu/grasscutter/game/quest/QuestManager.java @@ -295,6 +295,12 @@ private List addMultMainQuests(Set mainQuestIds) { } public void enableQuests() { + GameData.getBeginCondQuestMap().keySet().forEach(x -> { + if (x.contains("QUEST_COND_STATE_NOT_EQUAL")) + this.triggerEvent(QuestCond.QUEST_COND_STATE_NOT_EQUAL, null, Integer.parseInt(x.substring(26))); + if (x.contains("QUEST_COND_STATE_EQUAL")) + this.triggerEvent(QuestCond.QUEST_COND_STATE_EQUAL, null, Integer.parseInt(x.substring(22))); + }); this.triggerEvent(QuestCond.QUEST_COND_NONE, null, 0); this.triggerEvent(QuestCond.QUEST_COND_PLAYER_LEVEL_EQUAL_GREATER, null, 1); }