diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 31ddf725..24bd8e9e 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -28,7 +28,7 @@ body: attributes: label: Repro steps description: "How do you trigger this bug? Please walk us through it step by step." - value: | + placeholder: | 1. 2. 3. diff --git a/gradle.properties b/gradle.properties index 60e03127..c1ac06ff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ loader_version=0.14.24 fabric_version=0.90.12+1.20.3 # Mod Properties -mod_version = v7.39-MC1.20.3-pre2 +mod_version = v7.39.1-MC1.20.3-pre2 maven_group = net.wurstclient archives_base_name = Wurst-Client diff --git a/src/main/java/net/wurstclient/WurstClient.java b/src/main/java/net/wurstclient/WurstClient.java index 237cef03..491fd019 100644 --- a/src/main/java/net/wurstclient/WurstClient.java +++ b/src/main/java/net/wurstclient/WurstClient.java @@ -57,7 +57,7 @@ public enum WurstClient public static MinecraftClient MC; public static IMinecraftClient IMC; - public static final String VERSION = "7.39"; + public static final String VERSION = "7.39.1"; public static final String MC_VERSION = "1.20.3-pre2"; private WurstAnalytics analytics; diff --git a/src/main/java/net/wurstclient/util/DefaultAutoBuildTemplates.java b/src/main/java/net/wurstclient/util/DefaultAutoBuildTemplates.java index 06d70206..3dc92cf4 100644 --- a/src/main/java/net/wurstclient/util/DefaultAutoBuildTemplates.java +++ b/src/main/java/net/wurstclient/util/DefaultAutoBuildTemplates.java @@ -96,19 +96,23 @@ public enum DefaultAutoBuildTemplates { for(DefaultAutoBuildTemplates template : DefaultAutoBuildTemplates .values()) + createFile(folder, template); + } + + private static void createFile(Path folder, + DefaultAutoBuildTemplates template) + { + JsonObject json = toJson(template); + Path path = folder.resolve(template.name + ".json"); + + try { - JsonObject json = toJson(template); - Path path = folder.resolve(template.name + ".json"); + JsonUtils.toJson(json, path); - try - { - JsonUtils.toJson(json, path); - - }catch(IOException | JsonException e) - { - System.out.println("Couldn't save " + path.getFileName()); - e.printStackTrace(); - } + }catch(IOException | JsonException e) + { + System.out.println("Couldn't save " + path.getFileName()); + e.printStackTrace(); } }