mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 09:23:11 +08:00
Format code [skip actions]
This commit is contained in:
parent
e6d32f5599
commit
a1f75e1537
@ -1156,7 +1156,8 @@ public final class Scene {
|
|||||||
i -> {
|
i -> {
|
||||||
var groupInstance = scriptManager.getGroupInstanceById(i.getGroupId());
|
var groupInstance = scriptManager.getGroupInstanceById(i.getGroupId());
|
||||||
if (groupInstance == null) return;
|
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);
|
sceneNpcBornEntries.add(i);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -1165,7 +1166,9 @@ public final class Scene {
|
|||||||
Grasscutter.getLogger().trace("Loaded Npc Group Suite {}", sceneNpcBornEntries);
|
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) {
|
public void loadGroupForQuest(List<QuestGroupSuite> sceneGroupSuite) {
|
||||||
|
Loading…
Reference in New Issue
Block a user