From 11eb506f05c63b827492ec6b5b4bcd9364b6e4eb Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 26 Oct 2025 17:35:19 +0100 Subject: [PATCH] Use log of SchematicType --- CommonCore/SQL/src/de/steamwar/sql/SchematicType.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java b/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java index c0d61bb2..138b5eb7 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java +++ b/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java @@ -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);