diff options
author | makamys <makamys@outlook.com> | 2021-06-16 16:13:35 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2021-06-16 16:13:35 +0200 |
commit | ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24 (patch) | |
tree | d3029a69040e218e95c9ed691a1621d3735257e9 /src/main/java/makamys | |
parent | 2c2f34cb235f8959323505232d4e441233df0cbe (diff) | |
download | Neodymium-ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24.tar.gz Neodymium-ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24.tar.bz2 Neodymium-ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24.zip |
Fix wrong mixin target in MixinWorldRenderer
Diffstat (limited to 'src/main/java/makamys')
-rw-r--r-- | src/main/java/makamys/lodmod/mixin/MixinWorldRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<ChunkMesh> 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); |