Fix quest domains not showing up

This commit is contained in:
KingRainbow44 2023-04-24 00:09:59 -04:00
parent 40b23ec4a4
commit 0d680a6310
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -289,7 +289,7 @@ public class GameQuest {
*/
public List<IntIntImmutablePair> getDungeonIds() {
// Check if this quest is active.
if (this.state != QuestState.UNFINISHED) return List.of();
if (this.state != QuestState.QUEST_STATE_UNFINISHED) return List.of();
return this.getQuestData().getFinishCond().stream()
.filter(cond -> cond.getType() == QuestContent.QUEST_CONTENT_ENTER_DUNGEON)