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();