0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Merge tag 'v7.39.1' into 1.20.3-pre2

This commit is contained in:
Alexander01998 2023-11-27 12:54:57 +01:00
commit 38e455c338
4 changed files with 18 additions and 14 deletions

View File

@ -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.

View File

@ -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

View File

@ -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;

View File

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