12
0

Merge pull request 'Fix QuickGear' (#250) from last-filters into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #250
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Lixfel 2023-11-29 16:37:49 +01:00
Commit c28e5662e1
2 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen

@ -1 +1 @@
Subproject commit e0c1d1c2e2c4359fc706e9b58268a0b93873a669
Subproject commit e664c6cf4e3e9a056918cf15030c247e7bc6fe19

Datei anzeigen

@ -52,12 +52,14 @@ public class SQLWrapperImpl implements SQLWrapper {
String material = config.getString("Schematic.Material", "STONE_BUTTON");
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);
tmpFromDB.put(checktype.toDB(), checktype);
}
SchematicType current = new SchematicType(type, shortcut, config.isConfigurationSection("Server") ? SchematicType.Type.FIGHT_TYPE : SchematicType.Type.NORMAL, checktype, material);
boolean manualCheck = config.getBoolean("Schematic.ManualCheck", true);
SchematicType current = new SchematicType(type, shortcut, config.isConfigurationSection("Server") ? SchematicType.Type.FIGHT_TYPE : SchematicType.Type.NORMAL, checktype, material, manualCheck);
tmpTypes.add(current);
tmpFromDB.put(type.toLowerCase(), current);
}