From ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24 Mon Sep 17 00:00:00 2001 From: makamys Date: Wed, 16 Jun 2021 16:13:35 +0200 Subject: Fix wrong mixin target in MixinWorldRenderer --- src/main/java/makamys/lodmod/mixin/MixinWorldRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/makamys/lodmod/mixin/MixinWorldRenderer.java b/src/main/java/makamys/lodmod/mixin/MixinWorldRenderer.java index 2ec3365..3515b26 100644 --- a/src/main/java/makamys/lodmod/mixin/MixinWorldRenderer.java +++ b/src/main/java/makamys/lodmod/mixin/MixinWorldRenderer.java @@ -52,7 +52,7 @@ abstract class MixinWorldRenderer implements IWorldRenderer { public List chunkMeshes; - @Redirect(method = "setPosition", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/entity/Render;renderAABB(Lnet/minecraft/util/AxisAlignedBB;)V")) + @Redirect(method = "setPosition", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/entity/RenderItem;renderAABB(Lnet/minecraft/util/AxisAlignedBB;)V")) private void redirectRenderAABB(AxisAlignedBB p1) { if(!FarWorldRenderer.class.isInstance(this.getClass())) { RenderItem.renderAABB(p1); -- cgit