Use log of SchematicType

This commit is contained in:
2025-10-26 17:35:19 +01:00
parent dd711be30b
commit 11eb506f05
@@ -19,15 +19,15 @@
package de.steamwar.sql;
import de.steamwar.sql.internal.SQLConfig;
import de.steamwar.sql.internal.SqlTypeMapper;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import java.io.File;
import java.util.*;
import java.util.logging.Level;
import java.util.stream.Collectors;
@Slf4j
public class SchematicType {
public static final SchematicType Normal = new SchematicType("Normal", "", Type.NORMAL, null, "STONE_BUTTON", false);
@@ -61,7 +61,7 @@ public class SchematicType {
}
}
time = System.currentTimeMillis() - time;
log.info("Loaded {} Schematic Types in {}ms", tmpTypes.size(), time);
SQLConfig.impl.getLogger().log(Level.INFO, "Loaded {} Schematic Types in {}ms", new Object[]{tmpTypes.size(), time});
fromDB = Collections.unmodifiableMap(tmpFromDB);
types = Collections.unmodifiableList(tmpTypes);