mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-27 07:26:48 +01:00
Always dispatch render layer events
This commit is contained in:
parent
c88d9dca7e
commit
2cad7233ef
1 changed files with 0 additions and 3 deletions
|
@ -50,9 +50,6 @@ public class RenderHooksMixin {
|
||||||
@Inject(at = @At("TAIL"), method = "renderLayer")
|
@Inject(at = @At("TAIL"), method = "renderLayer")
|
||||||
private void renderLayer(RenderType type, MatrixStack stack, double camX, double camY, double camZ,
|
private void renderLayer(RenderType type, MatrixStack stack, double camX, double camY, double camZ,
|
||||||
CallbackInfo ci) {
|
CallbackInfo ci) {
|
||||||
if (!Backend.getInstance().available())
|
|
||||||
return;
|
|
||||||
|
|
||||||
Matrix4f view = stack.peek()
|
Matrix4f view = stack.peek()
|
||||||
.getModel();
|
.getModel();
|
||||||
Matrix4f viewProjection = view.copy();
|
Matrix4f viewProjection = view.copy();
|
||||||
|
|
Loading…
Reference in a new issue