Move more group loading to trace

This commit is contained in:
KingRainbow44 2023-05-17 00:31:33 -04:00
parent 6a0cb2732c
commit ca5e33c781
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
2 changed files with 7 additions and 6 deletions

View File

@ -41,14 +41,15 @@ import emu.grasscutter.server.packet.send.*;
import emu.grasscutter.utils.KahnsSort;
import emu.grasscutter.utils.Position;
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
import lombok.Getter;
import lombok.Setter;
import lombok.val;
import javax.annotation.Nullable;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.stream.Collectors;
import javax.annotation.Nullable;
import lombok.Getter;
import lombok.Setter;
import lombok.val;
public final class Scene {
@Getter private final World world;
@ -978,7 +979,7 @@ public final class Scene {
groups.forEach(
g -> scriptManager.callEvent(new ScriptArgs(g.id, EventType.EVENT_GROUP_LOAD, g.id)));
Grasscutter.getLogger().debug("Scene {} loaded {} group(s)", this.getId(), groups.size());
Grasscutter.getLogger().trace("Scene {} loaded {} group(s)", this.getId(), groups.size());
}
public void unloadGroup(SceneBlock block, int group_id) {

View File

@ -40,7 +40,7 @@ public class HandlerEnterSceneDoneReq extends PacketHandler {
session.getPlayer().getScene().loadGroupForQuest(questGroupSuites);
Grasscutter.getLogger()
.debug(
.trace(
"Loaded Scene {} Quest(s) Groupsuite(s): {}",
session.getPlayer().getSceneId(),
questGroupSuites);