mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Merge pull request #58 from c0508383/master
Possible fix for cloak alphas not rendering correctly.
This commit is contained in:
1 file changed
+1
-1
@@ -211,7 +211,7 @@ public class RenderNPCHumanMale extends RenderNPCInterface
|
||||
GL11.glRotatef(f15 / 2.0F, 0.0F, 0.0F, 1.0F);
|
||||
GL11.glRotatef(-f15 / 2.0F, 0.0F, 1.0F, 0.0F);
|
||||
GL11.glRotatef(180F, 0.0F, 1.0F, 0.0F);
|
||||
GL11.glColor4f(1.0F,1.0F,1.0F, npc.isInvisible() ? 0.2F : 1.0F);
|
||||
GL11.glColor4f(1.0F,1.0F,1.0F, npc.isInvisible() && !npc.isInvisibleToPlayer(Minecraft.getMinecraft().thePlayer) ? 0.2F : 1.0F);
|
||||
GL11.glEnable(GL11.GL_BLEND);
|
||||
modelBipedMain.renderCloak(0.0625F);
|
||||
GL11.glPopMatrix();
|
||||
|
||||
Reference in new issue
Block a user