diff --git a/src/main/java/com/jozufozu/flywheel/mixin/sodium/ChunkRenderRebuildTaskMixin.java b/src/main/java/com/jozufozu/flywheel/mixin/sodium/ChunkRenderRebuildTaskMixin.java index 782bfc482..f45c55d55 100644 --- a/src/main/java/com/jozufozu/flywheel/mixin/sodium/ChunkRenderRebuildTaskMixin.java +++ b/src/main/java/com/jozufozu/flywheel/mixin/sodium/ChunkRenderRebuildTaskMixin.java @@ -13,7 +13,7 @@ import net.minecraft.world.level.block.entity.BlockEntity; @Mixin(value = ChunkRenderRebuildTask.class, remap = false) public class ChunkRenderRebuildTaskMixin { - @Redirect(method = "performBuild", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher;getRenderer(Lnet/minecraft/world/level/block/entity/BlockEntity;)Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderer;")) + @Redirect(method = "performBuild", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderDispatcher;getRenderer(Lnet/minecraft/world/level/block/entity/BlockEntity;)Lnet/minecraft/client/renderer/blockentity/BlockEntityRenderer;", remap = true)) private BlockEntityRenderer flywheel$redirectGetRenderer(BlockEntityRenderDispatcher dispatcher, BlockEntity blockEntity) { if (InstancedRenderDispatcher.tryAddBlockEntity(blockEntity)) { return null; diff --git a/src/main/resources/flywheel.sodium.mixins.json b/src/main/resources/flywheel.sodium.mixins.json index dfeaae397..893655ac5 100644 --- a/src/main/resources/flywheel.sodium.mixins.json +++ b/src/main/resources/flywheel.sodium.mixins.json @@ -4,7 +4,7 @@ "package": "com.jozufozu.flywheel.mixin.sodium", "compatibilityLevel": "JAVA_17", "refmap": "flywheel.refmap.json", - "plugin": "com.jozufozu.flywheel.mixin.sodium.SodiumMixinConfigPlugin", + "plugin": "com.jozufozu.flywheel.mixin.sodium.SodiumMixinPlugin", "client": [ "ChunkRenderRebuildTaskMixin" ],