fix robots helmet overlay rendering when it should not, fixes #2835

This commit is contained in:
Hea3veN 2015-06-24 08:24:59 -03:00
parent 43228d6852
commit 24dbaa4369

View file

@ -269,10 +269,10 @@ public class RenderRobot extends Render implements IItemRenderer {
helmetBox.render(1 / 16F);
if (color != 16777215) {
this.bindTexture(RenderBiped.getArmorResource(entity, wearable, 0, "overlay"));
helmetBox.render(1 / 16F);
GL11.glPopAttrib();
}
this.bindTexture(RenderBiped.getArmorResource(entity, wearable, 0, "overlay"));
helmetBox.render(1 / 16F);
}
GL11.glPopMatrix();