mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-08 08:12:57 +08:00
Format code [skip actions]
This commit is contained in:
parent
0803618bf5
commit
6745d1126e
@ -83,7 +83,9 @@ public final class SetSceneTagCommand implements CommandHandler {
|
||||
.toList()
|
||||
.forEach(
|
||||
sceneTag -> {
|
||||
targetPlayer.getSceneTags().computeIfAbsent(sceneTag.getSceneId(), k -> new HashSet<>());
|
||||
targetPlayer
|
||||
.getSceneTags()
|
||||
.computeIfAbsent(sceneTag.getSceneId(), k -> new HashSet<>());
|
||||
targetPlayer.getSceneTags().get(sceneTag.getSceneId()).add(sceneTag.getId());
|
||||
});
|
||||
|
||||
@ -105,8 +107,11 @@ public final class SetSceneTagCommand implements CommandHandler {
|
||||
// targetPlayer.applyStartingSceneTags(); // private
|
||||
GameData.getSceneTagDataMap().values().stream()
|
||||
.filter(SceneTagData::isDefaultValid)
|
||||
.forEach(sceneTag -> {
|
||||
targetPlayer.getSceneTags().computeIfAbsent(sceneTag.getSceneId(), k -> new HashSet<>());
|
||||
.forEach(
|
||||
sceneTag -> {
|
||||
targetPlayer
|
||||
.getSceneTags()
|
||||
.computeIfAbsent(sceneTag.getSceneId(), k -> new HashSet<>());
|
||||
targetPlayer.getSceneTags().get(sceneTag.getSceneId()).add(sceneTag.getId());
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user