Skip to content

Commit

Permalink
change: tiny fix for compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
FlashyReese committed Nov 6, 2021
1 parent 2fd3ea1 commit 4714fb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ plugins {
id 'maven-publish'
}

sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

archivesBaseName = "${project.archives_base_name}-mc${project.minecraft_version}"
version = project.mod_version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected BasicFrame.Builder parentFrameBuilder() {
} else {
shaderPackButtonDim = new Dim2i(tabFrameDim.getLimitX() - size - 10, tabFrameDim.getOriginY() - 26, 10 + size, 20);
}
FlatButtonWidget shaderPackButton = new FlatButtonWidget(shaderPackButtonDim, new TranslatableText("options.iris.shaderPackSelection").asString(), () -> {
FlatButtonWidget shaderPackButton = new FlatButtonWidget(shaderPackButtonDim, new TranslatableText("options.iris.shaderPackSelection").getString(), () -> {

/*this.client.openScreen(new net.coderbot.iris.gui.screen.ShaderPackScreen(this))*/
// Let's hope Iris doesn't change the constructor nor the classpath :>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/reeses-sodium-options.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "me.flashyreese.mods.reeses_sodium_options.mixin",
"compatibilityLevel": "JAVA_16",
"compatibilityLevel": "JAVA_8",
"client": [
"sodium.MixinControlElement",
"sodium.MixinOptionsScreen",
Expand Down

0 comments on commit 4714fb6

Please sign in to comment.