diff --git a/src/main/java/emu/grasscutter/command/commands/SetSceneTagCommand.java b/src/main/java/emu/grasscutter/command/commands/SetSceneTagCommand.java index 26da2b8f1..3adbd3aa3 100644 --- a/src/main/java/emu/grasscutter/command/commands/SetSceneTagCommand.java +++ b/src/main/java/emu/grasscutter/command/commands/SetSceneTagCommand.java @@ -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()); }); @@ -104,11 +106,14 @@ public final class SetSceneTagCommand implements CommandHandler { targetPlayer.getSceneTags().clear(); // targetPlayer.applyStartingSceneTags(); // private GameData.getSceneTagDataMap().values().stream() - .filter(SceneTagData::isDefaultValid) - .forEach(sceneTag -> { - targetPlayer.getSceneTags().computeIfAbsent(sceneTag.getSceneId(), k -> new HashSet<>()); - targetPlayer.getSceneTags().get(sceneTag.getSceneId()).add(sceneTag.getId()); - }); + .filter(SceneTagData::isDefaultValid) + .forEach( + sceneTag -> { + targetPlayer + .getSceneTags() + .computeIfAbsent(sceneTag.getSceneId(), k -> new HashSet<>()); + targetPlayer.getSceneTags().get(sceneTag.getSceneId()).add(sceneTag.getId()); + }); } private void setSceneTags(Player targetPlayer) {