diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/at/lorenz/mod/mixins/MixinRenderManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/at/lorenz/mod/mixins/MixinRenderManager.java b/src/main/java/at/lorenz/mod/mixins/MixinRenderManager.java index bdadc44df..918dce800 100644 --- a/src/main/java/at/lorenz/mod/mixins/MixinRenderManager.java +++ b/src/main/java/at/lorenz/mod/mixins/MixinRenderManager.java @@ -11,6 +11,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; @Mixin(RenderManager.class) public class MixinRenderManager { + @Inject(method = "shouldRender", at = @At("HEAD"), cancellable = true) private void shouldRender(Entity entityIn, ICamera camera, double camX, double camY, double camZ, CallbackInfoReturnable<Boolean> cir) { RenderManagerHookKt.shouldRender(entityIn, camera, camX, camY, camZ, cir); |