From adcb61526b2923f309cb61abf10309b9fcd62eb5 Mon Sep 17 00:00:00 2001 From: PepperCode1 <44146161+PepperCode1@users.noreply.github.com> Date: Wed, 28 Sep 2022 20:04:04 -0700 Subject: [PATCH] Fix crash with Optifine - Bump version --- gradle.properties | 2 +- .../flywheel/mixin/instancemanage/RenderChunkMixin.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 000483ab0..034e0c254 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs = -Xmx3G org.gradle.daemon = false # mod version info -mod_version = 0.6.6 +mod_version = 0.6.7 artifact_minecraft_version = 1.19.2 minecraft_version = 1.19.2 diff --git a/src/main/java/com/jozufozu/flywheel/mixin/instancemanage/RenderChunkMixin.java b/src/main/java/com/jozufozu/flywheel/mixin/instancemanage/RenderChunkMixin.java index 987d7e8e7..3c42d337c 100644 --- a/src/main/java/com/jozufozu/flywheel/mixin/instancemanage/RenderChunkMixin.java +++ b/src/main/java/com/jozufozu/flywheel/mixin/instancemanage/RenderChunkMixin.java @@ -10,7 +10,7 @@ import net.minecraft.client.renderer.chunk.ChunkRenderDispatcher; @Mixin(ChunkRenderDispatcher.RenderChunk.class) public class RenderChunkMixin implements com.jozufozu.flywheel.util.RenderChunkExtension { - @Shadow + @Shadow(aliases = "this$0") // Optifine does not use the obfuscated name so the mapped name must be included as an alias @Final private ChunkRenderDispatcher this$0;