Skip to content

Commit

Permalink
Patch for Angelica (#101)
Browse files Browse the repository at this point in the history
* Patch for Angelica

* Update BlockSkinRenderHelper.java
  • Loading branch information
ah-OOG-ah authored Nov 27, 2023
1 parent c7d7205 commit c67546f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/main/java/tconstruct/client/BlockSkinRenderHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.fluids.FluidRegistry;

import org.lwjgl.opengl.GL11;

public class BlockSkinRenderHelper {

public static boolean renderMetadataBlock(Block block, int metadata, int x, int y, int z, RenderBlocks renderer,
Expand Down Expand Up @@ -989,9 +987,6 @@ public static boolean renderLiquidBlock(IIcon stillIcon, IIcon flowingIcon, int
boolean raf = renderer.renderAllFaces;
renderer.renderAllFaces = true;

// alpha blending etc.
GL11.glPushAttrib(GL11.GL_COLOR_BUFFER_BIT);

boolean ret;
if (Minecraft.isAmbientOcclusionEnabled()) ret = renderFakeBlockWithAmbientOcclusion(
stillIcon,
Expand All @@ -1016,8 +1011,6 @@ public static boolean renderLiquidBlock(IIcon stillIcon, IIcon flowingIcon, int
renderer,
world);

GL11.glPopAttrib();

renderer.renderAllFaces = raf;
return ret;
}
Expand Down

0 comments on commit c67546f

Please sign in to comment.