From 63069b7caa58524f0f1135e91d8b47a976f701d6 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 26 Oct 2025 17:36:48 +0100 Subject: [PATCH] Remove log in SchematicType --- CommonCore/SQL/src/de/steamwar/sql/SchematicType.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java b/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java index 138b5eb7..6abaffca 100644 --- a/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java +++ b/CommonCore/SQL/src/de/steamwar/sql/SchematicType.java @@ -19,13 +19,11 @@ package de.steamwar.sql; -import de.steamwar.sql.internal.SQLConfig; import de.steamwar.sql.internal.SqlTypeMapper; import lombok.Getter; import java.io.File; import java.util.*; -import java.util.logging.Level; import java.util.stream.Collectors; public class SchematicType { @@ -42,7 +40,6 @@ public class SchematicType { tmpTypes.add(Normal); tmpFromDB.put(Normal.name().toLowerCase(), Normal); - long time = System.currentTimeMillis(); File folder = SQLWrapper.impl.getSchemTypesFolder(); if (folder.exists()) { for (File configFile : Arrays.stream(folder.listFiles((file, name) -> name.endsWith(".yml") && !name.endsWith(".kits.yml"))).sorted().collect(Collectors.toList())) { @@ -60,8 +57,6 @@ public class SchematicType { SQLWrapper.impl.processSchematicType(gameModeConfig); } } - time = System.currentTimeMillis() - 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);