aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhannibal00212 <hannibal00212@users.noreply.github.com>2022-07-08 21:35:02 +0000
committerGitHub Action <actions@github.com>2022-07-08 21:35:02 +0000
commit636fe64d36f46ecb428a619a6417fc99336cd6f3 (patch)
tree35a0c4e9d97f5fb1057bfe52ff5b4d79fca72450 /src
parent33f122ef3f9ea1c8c262f0b0e53a70af7a4b339e (diff)
downloadskyhanni-636fe64d36f46ecb428a619a6417fc99336cd6f3.tar.gz
skyhanni-636fe64d36f46ecb428a619a6417fc99336cd6f3.tar.bz2
skyhanni-636fe64d36f46ecb428a619a6417fc99336cd6f3.zip
Prettified Code!
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/lorenz/mod/mixins/MixinRenderManager.java1
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);