diff --git a/build.gradle b/build.gradle index 53fba46..78017e7 100644 --- a/build.gradle +++ b/build.gradle @@ -93,7 +93,7 @@ modrinth { changelog = "A changelog can be found at https://github.com/Grayray75/FPS-Display/blob/main/CHANGELOG.md" uploadFile = remapJar - gameVersions = ["1.19.3"] + gameVersions = ["1.19.2"] loaders = ["fabric"] dependencies { optional.project "modmenu" @@ -111,7 +111,7 @@ curseforge { releaseType = "release" changelog = "A changelog can be found at https://github.com/Grayray75/FPS-Display/blob/main/CHANGELOG.md" - addGameVersion "1.19.3" + addGameVersion "1.19.2" addGameVersion "Fabric" addGameVersion "Java 17" diff --git a/gradle.properties b/gradle.properties index 0ef7be0..dc3b03b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,18 +3,18 @@ org.gradle.jvmargs=-Xmx2G # Fabric Properties # https://fabricmc.net/develop/ - minecraft_version=1.19.3 - yarn_mappings=1.19.3+build.5 + minecraft_version=1.19.2 + yarn_mappings=1.19.2+build.28 loader_version=0.14.21 # Mod Properties mod_version=3.1.0 maven_group=io.grayray75.mods archives_base_name=fpsdisplay - minecraft_version_supported=1.19.3 + minecraft_version_supported=1.19.2 # Dependencies # https://linkie.shedaniel.dev/ - fabric_version=0.76.1+1.19.3 - modmenu_version=5.1.0 - cloth_config_version=9.1.104 + fabric_version=0.76.1+1.19.2 + modmenu_version=4.2.0-beta.2 + cloth_config_version=8.3.103 diff --git a/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java b/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java index cefbb75..b118183 100644 --- a/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java +++ b/src/main/java/io/grayray75/mods/fpsdisplay/gui/FallbackOptionScreen.java @@ -21,10 +21,9 @@ public FallbackOptionScreen(Screen parent) { @Override protected void init() { // create done button - ButtonWidget doneButton = ButtonWidget.builder(ScreenTexts.DONE, (button) -> { - this.close(); - }).width(200).position(this.width / 2 - 100, this.height - 27).build(); - this.addDrawableChild(doneButton); + this.addDrawableChild(new ButtonWidget(this.width / 2 - 100, this.height - 27, 200, 20, ScreenTexts.DONE, (button) -> { + this.client.setScreen(this.parent); + })); super.init(); }