fix robots helmet overlay rendering when it should not, fixes #2835
This commit is contained in:
parent
43228d6852
commit
24dbaa4369
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue