Skip to content

Commit

Permalink
Finish up a release (maybe)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnnuiL committed Mar 19, 2023
1 parent 510601a commit 03047dd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ version = System.env.GITHUB_ACTIONS == 'true'
group = project.maven_group

repositories {
mavenLocal()
mavenCentral()
maven { url 'https://maven.gegy.dev' }
maven { url 'https://maven.terraformersmc.com/releases/' }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ org.gradle.jvmargs = -Xmx1G
org.gradle.parallel = true

# Mod Properties
version = 5.0.0-beta.10
version = 5.0.0-beta.11
maven_group = io.github.ennuil
archives_base_name = ok_zoomer
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ quilt_mappings = "1.19.4+build.5" # Latest version is available at https://lambd
quilt_loader = "0.18.5" # Latest version is available at https://fabricmc.net/versions.html

quilted_fabric_api = "6.0.0-beta.2+0.76.0-1.19.4"
libzoomer = "0.5.2+1.19.4"
libzoomer = "0.6.0+1.19.4"
mod_menu = "6.1.0-rc.4"
spruceui = "4.2.0+1.19.4"
mixin_extras = "0.1.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ private void initializeOptionList(SpruceOptionListWidget options) {
minField.setAccessible(true);
maxField.setAccessible(true);

minimum = Math.max(((Double) minField.get(constraint)).doubleValue(), minimum);
maximum = Math.min(((Double) maxField.get(constraint)).doubleValue(), maximum);
minimum = Math.max((Double) minField.get(constraint), minimum);
maximum = Math.min((Double) maxField.get(constraint), maximum);
} catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e) {
e.printStackTrace();
}
Expand All @@ -197,8 +197,8 @@ private void initializeOptionList(SpruceOptionListWidget options) {
minField.setAccessible(true);
maxField.setAccessible(true);

minimum = Math.max(((Integer) minField.get(constraint)).intValue(), minimum);
maximum = Math.min(((Integer) maxField.get(constraint)).intValue(), maximum);
minimum = Math.max((Integer) minField.get(constraint), minimum);
maximum = Math.min((Integer) maxField.get(constraint), maximum);
} catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException e) {
e.printStackTrace();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabrique.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"java": ">=17"
},
"recommends": {
"quilt_loader": "0.17.0"
"quilt_loader": "0.18.1"
},
"mixins": ["ok_zoomer_pmw.mixins.json"],
"custom": {
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/quilt.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@
"depends": [
{
"id": "quilt_loader",
"versions": ">=0.16.0-beta.6"
"versions": ">=0.18.1"
},
{
"id": "java",
"versions": ">=17"
},
{
"id": "libzoomer",
"versions": ">=0.4.0"
"versions": ">=0.6.0"
},
{
"id": "quilted_fabric_api",
"versions": ">=1.0.0-"
"versions": ">=6.0.0-"
}
],
"entrypoints": {
Expand Down

0 comments on commit 03047dd

Please sign in to comment.