Always dispatch render layer events

This commit is contained in:
JozsefA 2021-06-26 13:05:21 -07:00
parent d30ff87203
commit 9e983562b8

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