From d2f9f6f05be942aa57c9444f25357eeec9967a49 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Mon, 1 May 2023 22:53:32 -0400 Subject: [PATCH] Make logged quests easier to find --- src/main/java/emu/grasscutter/game/quest/GameMainQuest.java | 2 +- src/main/java/emu/grasscutter/game/quest/QuestManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java b/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java index 09676fd94..3c2f67798 100644 --- a/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java +++ b/src/main/java/emu/grasscutter/game/quest/GameMainQuest.java @@ -490,7 +490,7 @@ public class GameMainQuest { subQuestWithCond.getFinishProgressList()); if (this.getQuestManager().getLoggedQuests().contains(subQuestWithCond.getSubQuestId())) { - Grasscutter.getLogger().debug("Quest {} will be {} as a result of content trigger {} ({}, {}).", + Grasscutter.getLogger().debug(">>> Quest {} will be {} as a result of content trigger {} ({}, {}).", subQuestWithCond.getSubQuestId(), shouldFinish ? "finished" : "not finished", condType.name(), paramStr, Arrays.stream(params).mapToObj(String::valueOf).collect(Collectors.joining(", "))); } diff --git a/src/main/java/emu/grasscutter/game/quest/QuestManager.java b/src/main/java/emu/grasscutter/game/quest/QuestManager.java index 53805f540..4a044d881 100644 --- a/src/main/java/emu/grasscutter/game/quest/QuestManager.java +++ b/src/main/java/emu/grasscutter/game/quest/QuestManager.java @@ -398,7 +398,7 @@ public class QuestManager extends BasePlayerManager { boolean shouldAccept = LogicType.calculate(questData.getAcceptCondComb(), accept); if (this.loggedQuests.contains(questData.getId())) { - Grasscutter.getLogger().debug("Quest {} will be {} as a result of event trigger {} ({}, {}).", + Grasscutter.getLogger().debug(">>> Quest {} will be {} as a result of event trigger {} ({}, {}).", questData.getId(), shouldAccept ? "accepted" : "not accepted", condType.name(), paramStr, Arrays.stream(params).mapToObj(String::valueOf).collect(Collectors.joining(", "))); for (var i = 0; i < accept.length; i++) {