diff --git a/betterstats-3-fabric-1.20.1/gradle.properties b/betterstats-3-fabric-1.20.1/gradle.properties index 18f076f9..192fadd3 100644 --- a/betterstats-3-fabric-1.20.1/gradle.properties +++ b/betterstats-3-fabric-1.20.1/gradle.properties @@ -16,7 +16,7 @@ org.gradle.jvmargs=-Xmx1G mod_name = Better Statistics Screen mod_description = Improves the statistics screen and makes it more useful. mod_author = TheCSDev - mod_version = 3.8+fabric-1.20.1 + mod_version = 3.8.1+fabric-1.20.1 mod_contact_homepage = https://github.com/TheCSMods mod_contact_sources = https://github.com/TheCSMods/mc-better-stats @@ -38,7 +38,7 @@ org.gradle.jvmargs=-Xmx1G mod_depends_minecraft = >=1.20 mod_depends_java = >=17 - mod_jar_tcdcommons = META-INF/jarjar/tcdcommons-3.8+fabric-1.20.1.jar + mod_jar_tcdcommons = META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.1.jar pack_mcmeta_format = 15 diff --git a/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java b/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java index 319584d2..60c09fdf 100644 --- a/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java +++ b/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java @@ -123,7 +123,7 @@ public BetterStatsConfigScreen(@Nullable Screen parent) translatable("betterstats.api.client.gui.screen.betterstatsconfigscreen.enable_sas"), config.enableServerSAS, checkbox -> config.enableServerSAS = checkbox.getChecked()) - .build(() -> config.trySaveToFile(true)); + .build(() -> { try { config.saveToFile(true); } catch (Exception e) { throw new RuntimeException(e); } }); final var btn_actionCancel = new TButtonWidget( 5, 5, (panelW / 2) - 7, 20, diff --git a/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java b/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java index 337d5a8b..d5dba8f7 100644 --- a/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java +++ b/betterstats-3-fabric-1.20.1/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java @@ -56,7 +56,7 @@ public final class BSConfigTab extends StatsTab translatable("betterstats.api.client.gui.screen.betterstatsconfigscreen.enable_sas"), config.enableServerSAS, checkbox -> config.enableServerSAS = checkbox.getChecked()) - .build(() -> config.trySaveToFile(true)); + .build(() -> { try { config.saveToFile(true); } catch (Exception e) { throw new RuntimeException(e); } }); } // -------------------------------------------------- public final @Override void initFilters(FiltersInitContext initContext) diff --git a/betterstats-3-fabric-1.20.1/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.1.jar b/betterstats-3-fabric-1.20.1/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.1.jar similarity index 84% rename from betterstats-3-fabric-1.20.1/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.1.jar rename to betterstats-3-fabric-1.20.1/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.1.jar index 188d0a72..f116f381 100644 Binary files a/betterstats-3-fabric-1.20.1/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.1.jar and b/betterstats-3-fabric-1.20.1/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.1.jar differ diff --git a/betterstats-3-fabric-1.20.2/gradle.properties b/betterstats-3-fabric-1.20.2/gradle.properties index 83b68893..ccdd8c02 100644 --- a/betterstats-3-fabric-1.20.2/gradle.properties +++ b/betterstats-3-fabric-1.20.2/gradle.properties @@ -16,7 +16,7 @@ org.gradle.jvmargs=-Xmx1G mod_name = Better Statistics Screen mod_description = Improves the statistics screen and makes it more useful. mod_author = TheCSDev - mod_version = 3.8+fabric-1.20.2 + mod_version = 3.8.1+fabric-1.20.2 mod_contact_homepage = https://github.com/TheCSMods mod_contact_sources = https://github.com/TheCSMods/mc-better-stats @@ -38,7 +38,7 @@ org.gradle.jvmargs=-Xmx1G mod_depends_minecraft = >=1.20.2 mod_depends_java = >=17 - mod_jar_tcdcommons = META-INF/jarjar/tcdcommons-3.8+fabric-1.20.2.jar + mod_jar_tcdcommons = META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.2.jar pack_mcmeta_format = 18 diff --git a/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java b/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java index 319584d2..60c09fdf 100644 --- a/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java +++ b/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java @@ -123,7 +123,7 @@ public BetterStatsConfigScreen(@Nullable Screen parent) translatable("betterstats.api.client.gui.screen.betterstatsconfigscreen.enable_sas"), config.enableServerSAS, checkbox -> config.enableServerSAS = checkbox.getChecked()) - .build(() -> config.trySaveToFile(true)); + .build(() -> { try { config.saveToFile(true); } catch (Exception e) { throw new RuntimeException(e); } }); final var btn_actionCancel = new TButtonWidget( 5, 5, (panelW / 2) - 7, 20, diff --git a/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java b/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java index 337d5a8b..d5dba8f7 100644 --- a/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java +++ b/betterstats-3-fabric-1.20.2/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java @@ -56,7 +56,7 @@ public final class BSConfigTab extends StatsTab translatable("betterstats.api.client.gui.screen.betterstatsconfigscreen.enable_sas"), config.enableServerSAS, checkbox -> config.enableServerSAS = checkbox.getChecked()) - .build(() -> config.trySaveToFile(true)); + .build(() -> { try { config.saveToFile(true); } catch (Exception e) { throw new RuntimeException(e); } }); } // -------------------------------------------------- public final @Override void initFilters(FiltersInitContext initContext) diff --git a/betterstats-3-fabric-1.20.2/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.2.jar b/betterstats-3-fabric-1.20.2/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.2.jar similarity index 83% rename from betterstats-3-fabric-1.20.2/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.2.jar rename to betterstats-3-fabric-1.20.2/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.2.jar index a4a50cea..f058ce38 100644 Binary files a/betterstats-3-fabric-1.20.2/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.2.jar and b/betterstats-3-fabric-1.20.2/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.2.jar differ diff --git a/betterstats-3-fabric-1.20.4/gradle.properties b/betterstats-3-fabric-1.20.4/gradle.properties index 48f65d47..d38c1617 100644 --- a/betterstats-3-fabric-1.20.4/gradle.properties +++ b/betterstats-3-fabric-1.20.4/gradle.properties @@ -16,7 +16,7 @@ org.gradle.jvmargs=-Xmx1G mod_name = Better Statistics Screen mod_description = Improves the statistics screen and makes it more useful. mod_author = TheCSDev - mod_version = 3.8+fabric-1.20.4 + mod_version = 3.8.1+fabric-1.20.4 mod_contact_homepage = https://github.com/TheCSMods mod_contact_sources = https://github.com/TheCSMods/mc-better-stats @@ -35,10 +35,10 @@ org.gradle.jvmargs=-Xmx1G mod_entrypoint_server = io.github.thecsdev.betterstats.BetterStatsFabric mod_entrypoint_modmenu = io.github.thecsdev.betterstats.api.client.modmenu.ModMenuApiImpl - mod_depends_minecraft = >=1.20.4 + mod_depends_minecraft = >=1.20.3 mod_depends_java = >=17 - mod_jar_tcdcommons = META-INF/jarjar/tcdcommons-3.8+fabric-1.20.4.jar + mod_jar_tcdcommons = META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.4.jar pack_mcmeta_format = 22 diff --git a/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java b/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java index 319584d2..60c09fdf 100644 --- a/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java +++ b/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/api/client/gui/screen/BetterStatsConfigScreen.java @@ -123,7 +123,7 @@ public BetterStatsConfigScreen(@Nullable Screen parent) translatable("betterstats.api.client.gui.screen.betterstatsconfigscreen.enable_sas"), config.enableServerSAS, checkbox -> config.enableServerSAS = checkbox.getChecked()) - .build(() -> config.trySaveToFile(true)); + .build(() -> { try { config.saveToFile(true); } catch (Exception e) { throw new RuntimeException(e); } }); final var btn_actionCancel = new TButtonWidget( 5, 5, (panelW / 2) - 7, 20, diff --git a/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java b/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java index 337d5a8b..d5dba8f7 100644 --- a/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java +++ b/betterstats-3-fabric-1.20.4/src/main/java/io/github/thecsdev/betterstats/client/gui/stats/tabs/BSConfigTab.java @@ -56,7 +56,7 @@ public final class BSConfigTab extends StatsTab translatable("betterstats.api.client.gui.screen.betterstatsconfigscreen.enable_sas"), config.enableServerSAS, checkbox -> config.enableServerSAS = checkbox.getChecked()) - .build(() -> config.trySaveToFile(true)); + .build(() -> { try { config.saveToFile(true); } catch (Exception e) { throw new RuntimeException(e); } }); } // -------------------------------------------------- public final @Override void initFilters(FiltersInitContext initContext) diff --git a/betterstats-3-fabric-1.20.4/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.4.jar b/betterstats-3-fabric-1.20.4/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.4.jar similarity index 84% rename from betterstats-3-fabric-1.20.4/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.4.jar rename to betterstats-3-fabric-1.20.4/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.4.jar index 23749f29..71576fe1 100644 Binary files a/betterstats-3-fabric-1.20.4/src/main/resources/META-INF/jarjar/tcdcommons-3.8+fabric-1.20.4.jar and b/betterstats-3-fabric-1.20.4/src/main/resources/META-INF/jarjar/tcdcommons-3.8.1+fabric-1.20.4.jar differ