Format code [skip actions]

This commit is contained in:
github-actions 2023-05-12 02:03:50 +00:00
parent 2017bc57a0
commit c425fb12c4

View File

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