Skip to content

Commit

Permalink
Port to Minecraft 1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayray75 committed Aug 14, 2023
1 parent 2573e6f commit 6c84f28
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 6c84f28

Please sign in to comment.