forked from SteamWar/SteamWar
Improve SQLWrapperImpl
This commit is contained in:
@@ -36,10 +36,8 @@ public class SQLWrapperImpl implements SQLWrapper {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void processSchematicType(GameModeConfig<String, String, String> gameModeConfig, SchematicType type) {
|
public void processSchematicType(GameModeConfig<String, String, String> gameModeConfig, SchematicType type) {
|
||||||
if (!gameModeConfig.CheckQuestions.isEmpty()) {
|
|
||||||
CheckCommand.setCheckQuestions(type.checkType(), gameModeConfig.CheckQuestions);
|
|
||||||
}
|
|
||||||
if (type.checkType() != null) {
|
if (type.checkType() != null) {
|
||||||
|
CheckCommand.setCheckQuestions(type.checkType(), gameModeConfig.CheckQuestions);
|
||||||
CheckCommand.addFightType(type.checkType(), type);
|
CheckCommand.addFightType(type.checkType(), type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user