mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 07:10:46 +00:00
Make logged quests easier to find
This commit is contained in:
parent
a579243e51
commit
d2f9f6f05b
@ -490,7 +490,7 @@ public class GameMainQuest {
|
|||||||
subQuestWithCond.getFinishProgressList());
|
subQuestWithCond.getFinishProgressList());
|
||||||
|
|
||||||
if (this.getQuestManager().getLoggedQuests().contains(subQuestWithCond.getSubQuestId())) {
|
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,
|
subQuestWithCond.getSubQuestId(), shouldFinish ? "finished" : "not finished", condType.name(), paramStr,
|
||||||
Arrays.stream(params).mapToObj(String::valueOf).collect(Collectors.joining(", ")));
|
Arrays.stream(params).mapToObj(String::valueOf).collect(Collectors.joining(", ")));
|
||||||
}
|
}
|
||||||
|
@ -398,7 +398,7 @@ public class QuestManager extends BasePlayerManager {
|
|||||||
|
|
||||||
boolean shouldAccept = LogicType.calculate(questData.getAcceptCondComb(), accept);
|
boolean shouldAccept = LogicType.calculate(questData.getAcceptCondComb(), accept);
|
||||||
if (this.loggedQuests.contains(questData.getId())) {
|
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,
|
questData.getId(), shouldAccept ? "accepted" : "not accepted", condType.name(), paramStr,
|
||||||
Arrays.stream(params).mapToObj(String::valueOf).collect(Collectors.joining(", ")));
|
Arrays.stream(params).mapToObj(String::valueOf).collect(Collectors.joining(", ")));
|
||||||
for (var i = 0; i < accept.length; i++) {
|
for (var i = 0; i < accept.length; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user