forked from SteamWar/SteamWar
Use log of SchematicType
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user