From c425fb12c41f3f838d31e658d268a371f15df5fa Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 May 2023 02:03:50 +0000 Subject: [PATCH] Format code [skip actions] --- .../java/emu/grasscutter/game/talk/TalkManager.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/talk/TalkManager.java b/src/main/java/emu/grasscutter/game/talk/TalkManager.java index 06eed1d2f..d35043639 100644 --- a/src/main/java/emu/grasscutter/game/talk/TalkManager.java +++ b/src/main/java/emu/grasscutter/game/talk/TalkManager.java @@ -1,15 +1,15 @@ package emu.grasscutter.game.talk; +import static emu.grasscutter.game.quest.enums.QuestCond.QUEST_COND_COMPLETE_TALK; +import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_COMPLETE_ANY_TALK; +import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_COMPLETE_TALK; + import emu.grasscutter.data.GameData; import emu.grasscutter.data.binout.MainQuestData.TalkData; import emu.grasscutter.game.player.BasePlayerManager; import emu.grasscutter.game.player.Player; import lombok.NonNull; -import static emu.grasscutter.game.quest.enums.QuestCond.QUEST_COND_COMPLETE_TALK; -import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_COMPLETE_ANY_TALK; -import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_COMPLETE_TALK; - public final class TalkManager extends BasePlayerManager { public TalkManager(@NonNull Player player) { super(player); @@ -36,9 +36,7 @@ public final class TalkManager extends BasePlayerManager { // Execute the talk action on associated handlers. talkData .getFinishExec() - .forEach( - e -> - player.getServer().getTalkSystem().triggerExec(player, talkData, e)); + .forEach(e -> player.getServer().getTalkSystem().triggerExec(player, talkData, e)); // Invoke the talking events for quests. var questManager = player.getQuestManager();