SteamWar/SpigotCore
Archiviert
13
0

Fix QuickGear #250

Zusammengeführt
Lixfel hat 2 Commits von last-filters nach master 2023-11-29 16:37:50 +01:00 zusammengeführt
Nur Änderungen aus Commit 95093e5278 werden angezeigt - Alle Commits anzeigen

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);
}