Move persistant logger calls to trace

This commit is contained in:
KingRainbow44 2023-04-11 21:07:50 -04:00
parent 71a8ca2a8a
commit 97f74d9d55
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
2 changed files with 68 additions and 66 deletions

View File

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

View File

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