Improve SQLWrapperImpl

This commit is contained in:
2025-10-26 09:39:17 +01:00
parent 167a6b6dc4
commit 184bd12cb1
@@ -36,10 +36,8 @@ public class SQLWrapperImpl implements SQLWrapper {
@Override
public void processSchematicType(GameModeConfig<String, String, String> 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);
}
}