Format code [skip actions]

This commit is contained in:
github-actions 2023-06-09 17:29:26 +00:00
parent e6d32f5599
commit a1f75e1537

View File

@ -1156,7 +1156,8 @@ public final class Scene {
i -> {
var groupInstance = scriptManager.getGroupInstanceById(i.getGroupId());
if (groupInstance == null) return;
if (i.getSuiteIdList() != null && !i.getSuiteIdList().contains(groupInstance.getActiveSuiteId())) return;
if (i.getSuiteIdList() != null
&& !i.getSuiteIdList().contains(groupInstance.getActiveSuiteId())) return;
sceneNpcBornEntries.add(i);
});
@ -1165,7 +1166,9 @@ public final class Scene {
Grasscutter.getLogger().trace("Loaded Npc Group Suite {}", sceneNpcBornEntries);
}
return npcList.stream().filter(i -> this.npcBornEntrySet.contains(i) || sceneNpcBornEntries.contains(i)).toList();
return npcList.stream()
.filter(i -> this.npcBornEntrySet.contains(i) || sceneNpcBornEntries.contains(i))
.toList();
}
public void loadGroupForQuest(List<QuestGroupSuite> sceneGroupSuite) {