mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 15:49:43 +00:00
Update RenderNPCInterface.java
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user