Clean-Up Startup Sequence

hey i like it clean ok.. dont judge..
This commit is contained in:
KingRainbow44
2022-12-30 20:31:27 -05:00
parent fe80290bed
commit 668461a6f1
4 changed files with 19 additions and 6 deletions

View File

@@ -92,7 +92,7 @@ public class DataLoader {
public static <T> List<T> loadTableToList(String resourcePath, Class<T> classType) throws IOException {
val path = FileUtils.getDataPathTsjJsonTsv(resourcePath);
Grasscutter.getLogger().info("Loading data table from: "+path);
Grasscutter.getLogger().debug("Loading data table from: "+path);
return switch (FileUtils.getFileExtension(path)) {
case "json" -> JsonUtils.loadToList(path, classType);
case "tsj" -> TsvUtils.loadTsjToListSetField(path, classType);