From 184bd12cb1db98e6bef4c7c8212afb2280672943 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 26 Oct 2025 09:39:17 +0100 Subject: [PATCH] Improve SQLWrapperImpl --- VelocityCore/src/de/steamwar/sql/SQLWrapperImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/VelocityCore/src/de/steamwar/sql/SQLWrapperImpl.java b/VelocityCore/src/de/steamwar/sql/SQLWrapperImpl.java index 73a1d393..0c2aa004 100644 --- a/VelocityCore/src/de/steamwar/sql/SQLWrapperImpl.java +++ b/VelocityCore/src/de/steamwar/sql/SQLWrapperImpl.java @@ -36,10 +36,8 @@ public class SQLWrapperImpl implements SQLWrapper { @Override public void processSchematicType(GameModeConfig gameModeConfig, SchematicType type) { - if (!gameModeConfig.CheckQuestions.isEmpty()) { - CheckCommand.setCheckQuestions(type.checkType(), gameModeConfig.CheckQuestions); - } if (type.checkType() != null) { + CheckCommand.setCheckQuestions(type.checkType(), gameModeConfig.CheckQuestions); CheckCommand.addFightType(type.checkType(), type); } }