From 95093e527860bf08366462db85ddff27e148c8d9 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 29 Nov 2023 16:27:20 +0100 Subject: [PATCH 1/2] Fix QuickGear --- SpigotCore_Main/src/de/steamwar/sql/SQLWrapperImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/SQLWrapperImpl.java b/SpigotCore_Main/src/de/steamwar/sql/SQLWrapperImpl.java index c6d833d..7428574 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SQLWrapperImpl.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SQLWrapperImpl.java @@ -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); } -- 2.39.2 From 733c117bd1add02b6102530d1a29e77a603a83f5 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 29 Nov 2023 16:35:38 +0100 Subject: [PATCH 2/2] Fix QuickGear --- CommonCore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CommonCore b/CommonCore index e0c1d1c..e664c6c 160000 --- a/CommonCore +++ b/CommonCore @@ -1 +1 @@ -Subproject commit e0c1d1c2e2c4359fc706e9b58268a0b93873a669 +Subproject commit e664c6cf4e3e9a056918cf15030c247e7bc6fe19 -- 2.39.2