aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2021-06-16 16:13:35 +0200
committermakamys <makamys@outlook.com>2021-06-16 16:13:35 +0200
commitee1600619e7e0c4cb7b19ebe09ceade8d72f4b24 (patch)
treed3029a69040e218e95c9ed691a1621d3735257e9
parent2c2f34cb235f8959323505232d4e441233df0cbe (diff)
downloadNeodymium-ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24.tar.gz
Neodymium-ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24.tar.bz2
Neodymium-ee1600619e7e0c4cb7b19ebe09ceade8d72f4b24.zip
Fix wrong mixin target in MixinWorldRenderer
-rw-r--r--src/main/java/makamys/lodmod/mixin/MixinWorldRenderer.java2
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);