mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-02-07 10:36:41 +01:00
Run spotlessApply on previous commit
This commit is contained in:
@@ -292,15 +292,16 @@ public class GameQuest {
|
||||
if (this.state != QuestState.UNFINISHED) return List.of();
|
||||
|
||||
return this.getQuestData().getFinishCond().stream()
|
||||
.filter(cond -> cond.getType() == QuestContent.QUEST_CONTENT_ENTER_DUNGEON)
|
||||
.map(condition -> {
|
||||
var params = condition.getParam();
|
||||
// The first parameter is the ID of the dungeon.
|
||||
// The second parameter is the dungeon entry's scene point.
|
||||
// ex. [1, 1] = dungeon ID 1, scene point 1 or 'KaeyaDungeon'.
|
||||
return new IntIntImmutablePair(params[0], params[1]);
|
||||
})
|
||||
.toList();
|
||||
.filter(cond -> cond.getType() == QuestContent.QUEST_CONTENT_ENTER_DUNGEON)
|
||||
.map(
|
||||
condition -> {
|
||||
var params = condition.getParam();
|
||||
// The first parameter is the ID of the dungeon.
|
||||
// The second parameter is the dungeon entry's scene point.
|
||||
// ex. [1, 1] = dungeon ID 1, scene point 1 or 'KaeyaDungeon'.
|
||||
return new IntIntImmutablePair(params[0], params[1]);
|
||||
})
|
||||
.toList();
|
||||
}
|
||||
|
||||
public void save() {
|
||||
|
||||
Reference in New Issue
Block a user