From 2cad7233ef9ace378d18dc9fa0422b4b97273ef6 Mon Sep 17 00:00:00 2001 From: JozsefA Date: Sat, 26 Jun 2021 13:05:21 -0700 Subject: [PATCH] Always dispatch render layer events --- .../java/com/jozufozu/flywheel/mixin/RenderHooksMixin.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/jozufozu/flywheel/mixin/RenderHooksMixin.java b/src/main/java/com/jozufozu/flywheel/mixin/RenderHooksMixin.java index 5d75d3c5e..20202bf29 100644 --- a/src/main/java/com/jozufozu/flywheel/mixin/RenderHooksMixin.java +++ b/src/main/java/com/jozufozu/flywheel/mixin/RenderHooksMixin.java @@ -50,9 +50,6 @@ public class RenderHooksMixin { @Inject(at = @At("TAIL"), method = "renderLayer") private void renderLayer(RenderType type, MatrixStack stack, double camX, double camY, double camZ, CallbackInfo ci) { - if (!Backend.getInstance().available()) - return; - Matrix4f view = stack.peek() .getModel(); Matrix4f viewProjection = view.copy();