Patch for Angelica (#101)

* Patch for Angelica

* Update BlockSkinRenderHelper.java
This commit is contained in:
ah-OOG-ah authored and GitHub committed 2023-11-26 19:30:47 -08:00
1 parent c7d7205423
commit c67546fc50
1 file changed
-7
@@ -10,8 +10,6 @@ import net.minecraft.util.IIcon;
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,
@@ -989,9 +987,6 @@ public class BlockSkinRenderHelper {
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,
@@ -1016,8 +1011,6 @@ public class BlockSkinRenderHelper {
renderer,
world);
GL11.glPopAttrib();
renderer.renderAllFaces = raf;
return ret;
}