mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 20:05:19 +00:00
Move persistant logger calls to trace
This commit is contained in:
parent
71a8ca2a8a
commit
97f74d9d55
@ -360,7 +360,10 @@ public class QuestManager extends BasePlayerManager {
|
||||
}
|
||||
|
||||
public void triggerEvent(QuestContent condType, String paramStr, int... params) {
|
||||
if (condType != QuestContent.QUEST_CONTENT_GAME_TIME_TICK)
|
||||
Grasscutter.getLogger().debug("Trigger Event {}, {}, {}", condType, paramStr, params);
|
||||
else Grasscutter.getLogger().trace("Trigger Event {}, {}, {}", condType, paramStr, params);
|
||||
|
||||
List<GameMainQuest> checkMainQuests = this.getMainQuests().values().stream()
|
||||
.filter(i -> i.getState() != ParentQuestState.PARENT_QUEST_STATE_FINISHED)
|
||||
.toList();
|
||||
|
@ -56,8 +56,7 @@ public final class AnnouncementTask extends TaskHandler {
|
||||
.toList();
|
||||
|
||||
Grasscutter.getGameServer().getAnnouncementSystem().broadcast(toSend);
|
||||
Grasscutter.getLogger()
|
||||
.debug("Broadcast {} announcement(s) to all online players", toSend.size());
|
||||
Grasscutter.getLogger().trace("Broadcast {} announcement(s) to all online players", toSend.size());
|
||||
|
||||
// clear the interval count
|
||||
toSend.forEach(i -> intervalMap.put(i.getTemplateId(), 0));
|
||||
|
Loading…
Reference in New Issue
Block a user