Update RenderNPCInterface.java

This commit is contained in:
KAMKEEL committed 2022-04-09 01:21:40 -04:00
1 parent 8c677901d0
commit 465f52b811
1 file changed
-4
@@ -221,13 +221,10 @@ public class RenderNPCInterface extends RenderLiving{
float f1 = 1.0F;
GL11.glEnable(GL11.GL_BLEND);
// Overlay & Glow
GL11.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE);
GL11.glDisable(GL11.GL_LIGHTING);
if (npc.isInvisible())
{
GL11.glDepthMask(false);
@@ -250,7 +247,6 @@ public class RenderNPCInterface extends RenderLiving{
GL11.glEnable(GL11.GL_LIGHTING);
GL11.glColor4f(1.0F, 1.0F, 1.0F, f1);
GL11.glDepthFunc(GL11.GL_LEQUAL);
GL11.glDisable(GL11.GL_BLEND);
}