mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 04:57:18 +00:00
Fix quest domains not showing up
This commit is contained in:
parent
40b23ec4a4
commit
0d680a6310
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user