Skip to content

Commit

Permalink
Fix block global state pollution
Browse files Browse the repository at this point in the history
  • Loading branch information
cam72cam committed Sep 16, 2023
1 parent 4651e4e commit 84c26e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/cam72cam/mod/render/BlockRender.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ public void render(TileEntity te, float partialTicks, MatrixStack var3, IRenderT
int k = combinedLightIn / 65536;
model.renderCustom(new RenderState(var3).lightmap(j/240f, k/240f), partialTicks);

RenderHelper.turnOff();

RenderType.solid().clearRenderState();
}

Expand Down

0 comments on commit 84c26e9

Please sign in to comment.