From b7d627f0f5e66f85057f87d13e4fdc8b7dde4b24 Mon Sep 17 00:00:00 2001 From: TomTheFurry Date: Sat, 9 Apr 2022 15:53:06 +0800 Subject: [PATCH] Fix TF mixin causing crash for forge --- .../java/com/seibel/lod/forge/mixins/MixinTFChunkGenerator.java | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/forge/src/main/java/com/seibel/lod/forge/mixins/MixinTFChunkGenerator.java b/forge/src/main/java/com/seibel/lod/forge/mixins/MixinTFChunkGenerator.java index 5fdfe3b9a..5cd5c4687 100644 --- a/forge/src/main/java/com/seibel/lod/forge/mixins/MixinTFChunkGenerator.java +++ b/forge/src/main/java/com/seibel/lod/forge/mixins/MixinTFChunkGenerator.java @@ -1,5 +1,6 @@ package com.seibel.lod.forge.mixins; +import net.minecraft.world.level.chunk.ChunkGenerator; import org.spongepowered.asm.mixin.Mixin; #if MC_VERSION_1_16_5 @@ -49,6 +50,7 @@ public class MixinTFChunkGenerator { } #else +@Mixin(ChunkGenerator.class) class MixinTFChunkGenerator { } #endif \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 521621874..ce08320bb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,4 +18,4 @@ toml_version=3.6.4 manifold_version=2022.1.7 ##### FOR IDE SUPPORT AND TELL IDE TO USE CERTIAN MC VERSION: SWITCH THIS: -mcVer=1.16.5 \ No newline at end of file +mcVer=1.18.1 \ No newline at end of file