Dieser Commit ist enthalten in:
Ursprung
d8d519765a
Commit
45cacced9d
@ -1 +1 @@
|
|||||||
Subproject commit e0c1d1c2e2c4359fc706e9b58268a0b93873a669
|
Subproject commit e664c6cf4e3e9a056918cf15030c247e7bc6fe19
|
@ -77,13 +77,14 @@ public class SQLWrapperImpl implements SQLWrapper {
|
|||||||
String material = config.getString("Schematic.Material");
|
String material = config.getString("Schematic.Material");
|
||||||
|
|
||||||
if(!config.getStringList("CheckQuestions").isEmpty()) {
|
if(!config.getStringList("CheckQuestions").isEmpty()) {
|
||||||
checktype = new SchematicType("C" + type, "C" + shortcut, SchematicType.Type.CHECK_TYPE, null, material);
|
checktype = new SchematicType("C" + type, "C" + shortcut, SchematicType.Type.CHECK_TYPE, null, material, true);
|
||||||
tmpTypes.add(checktype);
|
tmpTypes.add(checktype);
|
||||||
tmpFromDB.put(checktype.toDB(), checktype);
|
tmpFromDB.put(checktype.toDB(), checktype);
|
||||||
CheckCommand.setCheckQuestions(checktype, config);
|
CheckCommand.setCheckQuestions(checktype, config);
|
||||||
}
|
}
|
||||||
|
boolean manualCheck = config.getBoolean("Schematic.ManualCheck", true);
|
||||||
|
|
||||||
SchematicType current = new SchematicType(type, shortcut, !config.contains("Server") ? SchematicType.Type.FIGHT_TYPE : SchematicType.Type.NORMAL, checktype, material, parseDeadline(config.getString("deadline", null)));
|
SchematicType current = new SchematicType(type, shortcut, !config.contains("Server") ? SchematicType.Type.FIGHT_TYPE : SchematicType.Type.NORMAL, checktype, material, parseDeadline(config.getString("deadline", null)), manualCheck);
|
||||||
tmpTypes.add(current);
|
tmpTypes.add(current);
|
||||||
tmpFromDB.put(type.toLowerCase(), current);
|
tmpFromDB.put(type.toLowerCase(), current);
|
||||||
if(checktype != null)
|
if(checktype != null)
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren