Always dispatch render layer events

This commit is contained in:
JozsefA 2021-06-26 13:05:21 -07:00
parent c88d9dca7e
commit 2cad7233ef

View file

@ -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();