From cdd3ce5709e85b129b921ab9c4f214024ed49191 Mon Sep 17 00:00:00 2001 From: jchung01 Date: Tue, 9 Apr 2024 11:16:16 -0700 Subject: [PATCH] Fix RTGU compatibility - Fixes #46 - Use the INewChunk passthrough for MixinChunk, other mods expect it --- src/main/java/org/dimdev/jeid/mixin/core/world/MixinChunk.java | 2 +- .../org/dimdev/jeid/mixin/core/world/client/MixinChunk.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/dimdev/jeid/mixin/core/world/MixinChunk.java b/src/main/java/org/dimdev/jeid/mixin/core/world/MixinChunk.java index 560850e..1865e30 100644 --- a/src/main/java/org/dimdev/jeid/mixin/core/world/MixinChunk.java +++ b/src/main/java/org/dimdev/jeid/mixin/core/world/MixinChunk.java @@ -3,8 +3,8 @@ import com.llamalad7.mixinextras.sugar.Local; import net.minecraft.world.biome.Biome; import net.minecraft.world.chunk.Chunk; +import org.dimdev.jeid.INewChunk; import org.dimdev.jeid.biome.BiomeError; -import org.dimdev.jeid.ducks.INewChunk; import org.objectweb.asm.Opcodes; import org.spongepowered.asm.mixin.Dynamic; import org.spongepowered.asm.mixin.Mixin; diff --git a/src/main/java/org/dimdev/jeid/mixin/core/world/client/MixinChunk.java b/src/main/java/org/dimdev/jeid/mixin/core/world/client/MixinChunk.java index dce8f24..850e0b2 100644 --- a/src/main/java/org/dimdev/jeid/mixin/core/world/client/MixinChunk.java +++ b/src/main/java/org/dimdev/jeid/mixin/core/world/client/MixinChunk.java @@ -3,7 +3,7 @@ import io.netty.buffer.ByteBuf; import net.minecraft.network.PacketBuffer; import net.minecraft.world.chunk.Chunk; -import org.dimdev.jeid.ducks.INewChunk; +import org.dimdev.jeid.INewChunk; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Redirect;