Move cache hit to trace

This commit is contained in:
KingRainbow44 2023-04-24 03:11:26 -04:00
parent 66b0e6f3c6
commit 9c77ddc42e
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -437,7 +437,7 @@ public class SceneScriptManager {
public List<Grid> getGroupGrids() {
int sceneId = scene.getId();
if (groupGridsCache.containsKey(sceneId) && groupGridsCache.get(sceneId) != null) {
Grasscutter.getLogger().debug("Hit cache for scene {}", sceneId);
Grasscutter.getLogger().trace("Hit cache for scene {}", sceneId);
return groupGridsCache.get(sceneId);
} else {
var path = FileUtils.getCachePath("scene" + sceneId + "_grid.json");